diff --git a/libraries/AP_HAL_ChibiOS/hwdef/FSOPowerStack/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/FSOPowerStack/hwdef.dat index d8498647f3b227..40ed04a689aede 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/FSOPowerStack/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/FSOPowerStack/hwdef.dat @@ -108,28 +108,29 @@ PB12 SWITCH_MAIN INPUT OPENDRAIN GPIO(64) PB14 SWITCH_PAYLOAD INPUT OPENDRAIN GPIO(65) # PDB controls -PB10 PAYLOAD_PC OUTPUT PULLDOWN GPIO(70) -PB11 PAYLOAD_EN OUTPUT PULLDOWN GPIO(71) -PC4 PAYLOAD_1_EN OUTPUT PULLDOWN GPIO(72) -PC5 PAYLOAD_2_EN OUTPUT PULLDOWN GPIO(73) -PC13 MAIN_PC OUTPUT PULLDOWN GPIO(74) -PC14 BAT_1_EN OUTPUT PULLDOWN GPIO(75) -PC15 BAT_2_EN OUTPUT PULLDOWN GPIO(76) +PB10 PAYLOAD_PC OUTPUT PULLDOWN GPIO(70) LOW +PB11 PAYLOAD_EN OUTPUT PULLDOWN GPIO(71) LOW +PC4 PAYLOAD_1_EN OUTPUT PULLDOWN GPIO(72) LOW +PC5 PAYLOAD_2_EN OUTPUT PULLDOWN GPIO(73) LOW +PC13 MAIN_PC OUTPUT PULLDOWN GPIO(74) LOW +PC14 BAT_1_EN OUTPUT PULLDOWN GPIO(75) LOW +PC15 BAT_2_EN OUTPUT PULLDOWN GPIO(76) LOW # LEDs -PA1 LED_RED OUTPUT PULLDOWN GPIO(80) HIGH -PA2 LED_GREEN OUTPUT PULLDOWN GPIO(81) HIGH -PA3 LED_BLUE OUTPUT PULLDOWN GPIO(82) HIGH -PA10 TIM1_CH3 TIM1 PWM(3) GPIO(83) # Status NTF_LED LED -PB2 LED_BOOT OUTPUT PULLDOWN GPIO(84) # Led Bootloader -PB13 LED_MAIN OUTPUT PULLDOWN GPIO(85) # Output Main LED -PB15 LED_PAYLOAD OUTPUT PULLDOWN GPIO(86) # Output Payload LED +PA1 LED_RED OUTPUT PULLDOWN GPIO(80) LOW +PA2 LED_GREEN OUTPUT PULLDOWN GPIO(81) LOW +PA3 LED_BLUE OUTPUT PULLDOWN GPIO(82) LOW +PA10 TIM1_CH3 TIM1 PWM(3) GPIO(83) LOW # Status NTF_LED LED +PB2 LED_BOOT OUTPUT PULLDOWN GPIO(84) LOW +PB13 LED_MAIN OUTPUT PULLDOWN GPIO(85) LOW +PB15 LED_PAYLOAD OUTPUT PULLDOWN GPIO(86) LOW # setup for "pixracer" RGB LEDs define HAL_GPIO_A_LED_PIN 80 define HAL_GPIO_B_LED_PIN 81 define HAL_GPIO_C_LED_PIN 82 -define HAL_GPIO_LED_ON 0 +define HAL_GPIO_LED_ON 1 +define HAL_GPIO_LED_OFF 0 define HAL_HAVE_PIXRACER_LED