mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Notify: use DEFAULT_NTF_LED_TYPES for chibios boards
default is the same as what ChibiOS sets
This commit is contained in:
parent
c854830702
commit
7c2ee8d53c
@ -89,11 +89,7 @@ AP_Notify *AP_Notify::_singleton;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DEFAULT_NTF_LED_TYPES
|
#ifndef DEFAULT_NTF_LED_TYPES
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
#define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS)
|
|
||||||
|
|
||||||
// Linux boards
|
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
|
||||||
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO
|
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO
|
||||||
#define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS |\
|
#define DEFAULT_NTF_LED_TYPES (Notify_LED_Board | I2C_LEDS |\
|
||||||
Notify_LED_PCA9685LED_I2C_External)
|
Notify_LED_PCA9685LED_I2C_External)
|
||||||
|
Loading…
Reference in New Issue
Block a user