From 8293c1f8c918c7dfa52315c4bc63e1c60153e2b9 Mon Sep 17 00:00:00 2001 From: Henry Wurzburg Date: Mon, 24 Apr 2023 07:47:59 -0500 Subject: [PATCH] AP_HAL_ChibiOS: change BUILD_DEFAULT_LED_TYPE to new pattern --- libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat | 2 +- libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat index 126ebd6786..8cd958b4df 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat @@ -139,7 +139,7 @@ define HAL_PERIPH_ENABLE_RC_OUT define HAL_PERIPH_ENABLE_NOTIFY # use NCP5623 RGB LED on I2C1 -define BUILD_DEFAULT_LED_TYPE 128 +define DEFAULT_NTF_LED_TYPES 128 define BARO_MAX_INSTANCES 1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat index 7b7644417c..764dc0389b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat @@ -53,7 +53,7 @@ PA14 JTCK-SWCLK SWD ########################### define AP_NOTIFY_PROFILED_SPI_ENABLED 1 -define BUILD_DEFAULT_LED_TYPE Notify_LED_ProfiLED_SPI +define DEFAULT_NTF_LED_TYPES Notify_LED_ProfiLED_SPI define NOTIFY_LED_LEN_DEFAULT 16 define CONFIGURE_PPS_PIN TRUE define HAL_PERIPH_ENABLE_NOTIFY diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat index 6c73e5f3d5..d219f37af3 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat @@ -164,6 +164,6 @@ define HAL_PERIPH_ENABLE_RC_OUT define HAL_PERIPH_GPS_PORT_DEFAULT 1 # enable NCP5623 on 2nd I2C bus -define BUILD_DEFAULT_LED_TYPE 128 +define DEFAULT_NTF_LED_TYPES 128