From f16d0378e1eb8dd7036a90b374735e1017736e46 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 9 Apr 2024 23:32:11 +1000 Subject: [PATCH] hwdef: compilation fix for CSKY405-fix SCB-WAF: ../../libraries/AP_HAL/AP_HAL_Boards.h:372:2: error: #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON" 372 | #error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON" --- libraries/AP_HAL_ChibiOS/hwdef/CSKY405/hwdef.dat | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CSKY405/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CSKY405/hwdef.dat index d7f74cc7ba..97c5818937 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CSKY405/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CSKY405/hwdef.dat @@ -28,7 +28,6 @@ PA14 LED0 OUTPUT LOW GPIO(90) # blue marked as ACT PA13 LED1 OUTPUT LOW GPIO(91) # green marked as B/E define HAL_GPIO_A_LED_PIN 91 define HAL_GPIO_B_LED_PIN 90 -define HAL_GPIO_LED_OFF 1 # --------------------- PWM ----------------------- PA8 TIM1_CH1 TIM1 PWM(1) GPIO(50) // S1 @@ -187,4 +186,4 @@ define HAL_HOTT_TELEM_ENABLED 0 define HAL_NMEA_OUTPUT_ENABLED 0 define HAL_BUTTON_ENABLED 0 define AP_NOTIFY_OREOLED_ENABLED 0 -define HAL_PICCOLO_CAN_ENABLE 0 \ No newline at end of file +define HAL_PICCOLO_CAN_ENABLE 0