mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_TemperatureSensor: rename macros to avoid conflicts
these macros were also defined in NuttX in clock.h
This commit is contained in:
parent
607220d12b
commit
db64da7856
@ -58,7 +58,7 @@ bool TSYS01::init()
|
||||
|
||||
/* Request 20Hz update */
|
||||
// Max conversion time is 9.04 ms
|
||||
_dev->register_periodic_callback(50 * USEC_PER_MSEC,
|
||||
_dev->register_periodic_callback(50 * AP_USEC_PER_MSEC,
|
||||
FUNCTOR_BIND_MEMBER(&TSYS01::_timer, void));
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user