From 6f11926dbdd1ef43f87d966c8c673512bb55c692 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 19 Oct 2019 11:28:26 +1100 Subject: [PATCH] HAL_ChibiOS: enable NCP5623 LED in f103-GPS --- libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat | 1 + libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat | 3 +++ 2 files changed, 4 insertions(+) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat index 8c9c716f39..4678e5546d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat @@ -161,3 +161,4 @@ define HAL_PERIPH_ENABLE_BARO define HAL_PERIPH_ENABLE_BUZZER define HAL_PERIPH_NEOPIXEL_COUNT 8 define HAL_PERIPH_NEOPIXEL_CHAN 0 +define AP_PERIPH_LED_BRIGHT_DEFAULT 50 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat index ff8700eced..2e9b199117 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-GPS/hwdef.dat @@ -8,3 +8,6 @@ define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_gps" # GPS+MAG define HAL_PERIPH_ENABLE_GPS define HAL_PERIPH_ENABLE_MAG +define HAL_PERIPH_ENABLE_NCP5623_LED + +