diff --git a/libraries/AP_HAL_ChibiOS/GPIO.h b/libraries/AP_HAL_ChibiOS/GPIO.h index 6ee4473bf6..124aad71d5 100644 --- a/libraries/AP_HAL_ChibiOS/GPIO.h +++ b/libraries/AP_HAL_ChibiOS/GPIO.h @@ -19,18 +19,8 @@ #include "AP_HAL_ChibiOS.h" #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS - # define HAL_GPIO_A_LED_PIN 0 - # define HAL_GPIO_B_LED_PIN 0 - # define HAL_GPIO_C_LED_PIN 0 # define HAL_GPIO_LED_ON LOW # define HAL_GPIO_LED_OFF HIGH -#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412 - # define HAL_GPIO_CYRF_RESET 1 - # define HAL_GPIO_CYRF_IRQ 2 -#else - # define HAL_GPIO_CYRF_RESET 1 - # define HAL_GPIO_CYRF_IRQ 15 -#endif #endif class ChibiOS::GPIO : public AP_HAL::GPIO {