mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
AP_ICEngine: correct compilation when ICEngine disabled
the starter class does things with various other objects which may not be avaialb.e Honour AP_ICENGINE_ENABLED
This commit is contained in:
parent
d7ae8b8bb3
commit
ee3c9765a4
@ -11,5 +11,5 @@
|
||||
*/
|
||||
#ifndef AP_ICENGINE_TCA9554_STARTER_ENABLED
|
||||
// enable on SITL by default to ensure code is built
|
||||
#define AP_ICENGINE_TCA9554_STARTER_ENABLED (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||||
#define AP_ICENGINE_TCA9554_STARTER_ENABLED AP_ICENGINE_ENABLED && (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user