|
|
|
@ -150,14 +150,16 @@ const AP_Param::GroupInfo AP_Notify::var_info[] = {
@@ -150,14 +150,16 @@ const AP_Param::GroupInfo AP_Notify::var_info[] = {
|
|
|
|
|
// @User: Advanced
|
|
|
|
|
AP_GROUPINFO("LED_OVERRIDE", 2, AP_Notify, _rgb_led_override, NOTIFY_LED_OVERRIDE_DEFAULT), |
|
|
|
|
|
|
|
|
|
#if HAL_DISPLAY_ENABLED |
|
|
|
|
// @Param: DISPLAY_TYPE
|
|
|
|
|
// @DisplayName: Type of on-board I2C display
|
|
|
|
|
// @Description: This sets up the type of on-board I2C display. Disabled by default.
|
|
|
|
|
// @Values: 0:Disable,1:ssd1306,2:sh1106,10:SITL
|
|
|
|
|
// @User: Advanced
|
|
|
|
|
AP_GROUPINFO("DISPLAY_TYPE", 3, AP_Notify, _display_type, 0), |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if !HAL_MINIMIZE_FEATURES |
|
|
|
|
#if HAL_OREO_LED_ENABLED |
|
|
|
|
// @Param: OREO_THEME
|
|
|
|
|
// @DisplayName: OreoLED Theme
|
|
|
|
|
// @Description: Enable/Disable Solo Oreo LED driver, 0 to disable, 1 for Aircraft theme, 2 for Rover theme
|
|
|
|
@ -311,7 +313,7 @@ void AP_Notify::add_backends(void)
@@ -311,7 +313,7 @@ void AP_Notify::add_backends(void)
|
|
|
|
|
ADD_BACKEND(new ProfiLED()); |
|
|
|
|
break; |
|
|
|
|
case Notify_LED_OreoLED: |
|
|
|
|
#if !HAL_MINIMIZE_FEATURES |
|
|
|
|
#if HAL_OREO_LED_ENABLED |
|
|
|
|
if (_oreo_theme) { |
|
|
|
|
ADD_BACKEND(new OreoLED_I2C(0, _oreo_theme)); |
|
|
|
|
} |
|
|
|
@ -337,9 +339,10 @@ void AP_Notify::add_backends(void)
@@ -337,9 +339,10 @@ void AP_Notify::add_backends(void)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if HAL_DISPLAY_ENABLED |
|
|
|
|
// Always try and add a display backend
|
|
|
|
|
ADD_BACKEND(new Display()); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
// ChibiOS noise makers
|
|
|
|
|
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS |
|
|
|
|