mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: removed duplicate defines
This commit is contained in:
parent
2bb99bfe53
commit
015c3a1fa3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue