AP_TemperatureSensor: rename macros to avoid conflicts

these macros were also defined in NuttX in clock.h
This commit is contained in:
Andrew Tridgell 2017-05-05 20:09:30 +10:00
parent 607220d12b
commit db64da7856
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}