2022-07-15 08:50:11 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
|
|
|
|
#ifndef AP_ICENGINE_ENABLED
|
|
|
|
#define AP_ICENGINE_ENABLED 1
|
|
|
|
#endif
|
2023-10-26 02:17:19 -03:00
|
|
|
|
|
|
|
/*
|
|
|
|
optional TCA9554 I2C for starter control
|
|
|
|
*/
|
|
|
|
#ifndef AP_ICENGINE_TCA9554_STARTER_ENABLED
|
|
|
|
// enable on SITL by default to ensure code is built
|
2024-02-14 20:40:29 -04:00
|
|
|
#define AP_ICENGINE_TCA9554_STARTER_ENABLED AP_ICENGINE_ENABLED && (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
2023-10-26 02:17:19 -03:00
|
|
|
#endif
|