From 131aa53e423054f217dee84858cc799250a0ef74 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 11 Jul 2013 13:49:37 +1000 Subject: [PATCH] AP_Relay: update for new PX4 relay pin --- libraries/AP_Relay/AP_Relay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp index 141f4f70b1..c2dd922db8 100644 --- a/libraries/AP_Relay/AP_Relay.cpp +++ b/libraries/AP_Relay/AP_Relay.cpp @@ -15,7 +15,7 @@ #elif CONFIG_HAL_BOARD == HAL_BOARD_APM2 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL #define RELAY_PIN 13 #elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 -#define RELAY_PIN 99 +#define RELAY_PIN 111 #else // no relay for this board #define RELAY_PIN -1 @@ -24,7 +24,7 @@ const AP_Param::GroupInfo AP_Relay::var_info[] PROGMEM = { // @Param: PIN // @DisplayName: Relay Pin - // @Description: Digital pin number for relay control. This is normally 47 for the APM1 relay, 13 for the A9 pin on APM2 and 99 for the high power relay pin on the PX4. + // @Description: Digital pin number for relay control. This is normally 47 for the APM1 relay, 13 for the A9 pin on APM2 and 111 for the high power relay pin on the PX4. // @User: Standard AP_GROUPINFO("PIN", 0, AP_Relay, _pin, RELAY_PIN),