mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 04:28:30 -04:00
AP_Relay: fix pin used on APM2/SITL per Sando on drones-discuss
* My bad, thanks for the fix Sandro
This commit is contained in:
parent
b079a96eaf
commit
1b7b096b05
@ -15,7 +15,7 @@ extern const AP_HAL::HAL& hal;
|
|||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
|
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
|
||||||
#define RELAY_PIN 47
|
#define RELAY_PIN 47
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM2 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM2 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||||
#define RELAY_PIN 26
|
#define RELAY_PIN 13
|
||||||
#else
|
#else
|
||||||
// no relay for this board
|
// no relay for this board
|
||||||
#define RELAY_PIN -1
|
#define RELAY_PIN -1
|
||||||
|
Loading…
Reference in New Issue
Block a user