From 1b7b096b05c86b19952a7e08d1a39f4111aabdd8 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Sat, 5 Jan 2013 13:51:59 -0800 Subject: [PATCH] AP_Relay: fix pin used on APM2/SITL per Sando on drones-discuss * My bad, thanks for the fix Sandro --- libraries/AP_Relay/AP_Relay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp index 85bf7a1bb6..676499602b 100644 --- a/libraries/AP_Relay/AP_Relay.cpp +++ b/libraries/AP_Relay/AP_Relay.cpp @@ -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