1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

changed ktimer to hwtimer in the avsextrem smb380 driver

This commit is contained in:
Hauke Petersen 2013-11-11 17:41:07 +01:00
parent df6cb2bcaf
commit 547e06ff3d

View File

@ -411,7 +411,7 @@ uint8_t writeRingBuff(int16_t *value)
/* measuring temperature dependent internal sample rate of SMB380 */
if (smb380_mode == SMB380_CONTINOUS) {
tickLastSample = ktimer_now();
tickLastSample = hwtimer_now();
tickCurrentSamples++;
}
@ -1050,7 +1050,7 @@ void SMB380_enableNewDataInt(void)
SMB380_ssp_read();
SMB380_Unprepare();
// measuring temperature dependent internal sample rate of SMB380
tickStart = ktimer_now();
tickStart = hwtimer_now();
tickCurrentSamples = 0;
restoreIRQ(cpsr);
}