mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: make explicit define for notify's NCP5623
This commit is contained in:
parent
6e6fb70541
commit
6bb84e5da0
|
@ -295,7 +295,7 @@ void AP_Notify::add_backends(void)
|
|||
case Notify_LED_ToshibaLED_I2C_External:
|
||||
ADD_BACKEND(new ToshibaLED_I2C(TOSHIBA_LED_I2C_BUS_EXTERNAL));
|
||||
break;
|
||||
#if !HAL_MINIMIZE_FEATURES
|
||||
#if AP_NOTIFY_NCP5623_ENABLED
|
||||
case Notify_LED_NCP5623_I2C_External:
|
||||
FOREACH_I2C_EXTERNAL(b) {
|
||||
ADD_BACKEND(new NCP5623(b));
|
||||
|
|
|
@ -12,3 +12,7 @@
|
|||
#ifndef AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED
|
||||
#define AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED HAL_GCS_ENABLED
|
||||
#endif
|
||||
|
||||
#ifndef AP_NOTIFY_NCP5623_ENABLED
|
||||
#define AP_NOTIFY_NCP5623_ENABLED 1
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue