mirror of https://github.com/ArduPilot/ardupilot
AP_Notify: use default DEFAULT_NTF_LED_TYPES on unrecognised Linux boards
now have two ifndef blocks, one of which defaults things on recognized linux boards, the other generically. Preparation for removing the defaultin for Linux boards in this file
This commit is contained in:
parent
7c2ee8d53c
commit
b47bcc4429
|
@ -113,17 +113,12 @@ AP_Notify *AP_Notify::_singleton;
|
|||
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RST_ZYNQ
|
||||
#define DEFAULT_NTF_LED_TYPES (Notify_LED_ToshibaLED_I2C_External)
|
||||
#endif // board subtype
|
||||
#endif // CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#endif // defined (DEFAULT_NTF_LED_TYPES)
|
||||
|
||||
#else // other linux
|
||||
#ifndef DEFAULT_NTF_LED_TYPES
|
||||
#define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS)
|
||||
#endif
|
||||
|
||||
// All other builds
|
||||
#else
|
||||
#define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS)
|
||||
|
||||
#endif // board selection
|
||||
|
||||
#endif // DEFAULT_NTF_LED_TYPES
|
||||
|
||||
#ifndef BUZZER_ENABLE_DEFAULT
|
||||
|
|
Loading…
Reference in New Issue