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:
parent
df6cb2bcaf
commit
547e06ff3d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user