AP_HAL: define AP_INERTIALSENSOR_ENABLED in a new AP_InertialSensor_config.h
This commit is contained in:
parent
de54bcbc21
commit
e8c5296087
@ -263,10 +263,6 @@
|
|||||||
#define HAL_ENABLE_THREAD_STATISTICS 0
|
#define HAL_ENABLE_THREAD_STATISTICS 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AP_INERTIALSENSOR_ENABLED
|
|
||||||
#define AP_INERTIALSENSOR_ENABLED (!defined(HAL_BUILD_AP_PERIPH))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef AP_STATS_ENABLED
|
#ifndef AP_STATS_ENABLED
|
||||||
#define AP_STATS_ENABLED (!defined(HAL_BUILD_AP_PERIPH))
|
#define AP_STATS_ENABLED (!defined(HAL_BUILD_AP_PERIPH))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user