From 823e7c53b572b8781da22a95f4932ae205478c97 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Wed, 10 May 2023 10:29:08 +0900 Subject: [PATCH] AP_HAL_ChibiOS: JFB100 LED definition fix --- libraries/AP_HAL_ChibiOS/hwdef/JFB100/hwdef.dat | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/JFB100/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/JFB100/hwdef.dat index e7c8b432ae..d7df5bf7c2 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/JFB100/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/JFB100/hwdef.dat @@ -286,7 +286,9 @@ PD2 SDMMC_CMD SDMMC1 PC6 LED_GREEN OUTPUT GPIO(91) LOW # blue LED marked as ACT -# PC7 LED_BLUE OUTPUT GPIO(92) HIGH (swap) +PC7 LED_BLUE OUTPUT GPIO(90) HIGH +# red LED marked as B/E +PB1 LED_RED OUTPUT OPENDRAIN GPIO(92) # setup for BoardLED2 define HAL_GPIO_A_LED_PIN 90 @@ -345,9 +347,3 @@ define WDI_OUT_INTERVAL_TIME_MS 100 # safety switch PE10 SAFETY_IN INPUT PULLUP - -# red and blue LEDs swapped vs fmuv5 -# red LED marked as B/E -PB1 LED_RED OUTPUT OPENDRAIN GPIO(92) -# blue LED marked as ACT -PC7 LED_BLUE OUTPUT GPIO(90) HIGH