AP_Compass: 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:29 +10:00
parent 71158e3e74
commit 45f27ceb9c

View File

@ -56,7 +56,7 @@
#define PDCNTL_REG 0x42 #define PDCNTL_REG 0x42
#define PDCNTL_VAL_PULSE_DURATION_NORMAL 0xC0 #define PDCNTL_VAL_PULSE_DURATION_NORMAL 0xC0
#define SAMPLING_PERIOD_USEC (10 * USEC_PER_MSEC) #define SAMPLING_PERIOD_USEC (10 * AP_USEC_PER_MSEC)
/* /*
* FSR: * FSR: