mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Relay: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN
This commit is contained in:
parent
3ecb785f0f
commit
b83f317681
@ -11,18 +11,6 @@
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
#define RELAY1_PIN_DEFAULT 13
|
||||
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
#ifdef CONFIG_ARCH_BOARD_PX4FMU_V1
|
||||
#define RELAY1_PIN_DEFAULT 111
|
||||
|
||||
#elif !defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
|
||||
#define RELAY1_PIN_DEFAULT 54
|
||||
#define RELAY2_PIN_DEFAULT 55
|
||||
#endif
|
||||
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
||||
#define RELAY1_PIN_DEFAULT 33
|
||||
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
|
||||
#define RELAY1_PIN_DEFAULT 57
|
||||
|
Loading…
Reference in New Issue
Block a user