HAL_ChibiOS: removed duplicate defines

This commit is contained in:
Andrew Tridgell 2018-01-22 07:10:11 +11:00
parent 2bb99bfe53
commit 015c3a1fa3
1 changed files with 0 additions and 10 deletions

View File

@ -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 {