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:
Pat Hickey 2013-01-05 13:51:59 -08:00
parent b079a96eaf
commit 1b7b096b05

View File

@ -15,7 +15,7 @@ extern const AP_HAL::HAL& hal;
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
#define RELAY_PIN 47
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM2 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
#define RELAY_PIN 26
#define RELAY_PIN 13
#else
// no relay for this board
#define RELAY_PIN -1