From 2101f75b1c00184ac4073f7c3ad4c75a879fcfa4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 30 Jul 2024 20:24:36 +1000 Subject: [PATCH] hwdef: correct ZeroOne LED defines for backport --- libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/hwdef.dat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/hwdef.dat index c85cff4eb7..4473816a1b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/ZeroOneX6/hwdef.dat @@ -264,11 +264,11 @@ PE3 LED_RED OUTPUT OPENDRAIN GPIO(90) HIGH PE4 LED_GREEN OUTPUT OPENDRAIN GPIO(91) HIGH PE5 LED_BLUE OUTPUT OPENDRAIN GPIO(92) HIGH -define AP_NOTIFY_GPIO_LED_RGB_RED_PIN 90 -define AP_NOTIFY_GPIO_LED_RGB_GREEN_PIN 91 -define AP_NOTIFY_GPIO_LED_RGB_BLUE_PIN 92 +define HAL_GPIO_A_LED_PIN 90 +define HAL_GPIO_B_LED_PIN 91 +define HAL_GPIO_C_LED_PIN 92 -define AP_NOTIFY_GPIO_LED_RGB_ENABLED 1 +define HAL_HAVE_PIXRACER_LED # ID pins PG0 HW_VER_REV_DRIVE OUTPUT LOW