From ea38448372b8813d6d7167860742946f5c8f897d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 25 Nov 2015 18:29:27 +1100 Subject: [PATCH] AP_Relay: don't default to using two PWMs as relays on FMUv4 --- libraries/AP_Relay/AP_Relay.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp index a077ac7f77..f3b26a7edc 100644 --- a/libraries/AP_Relay/AP_Relay.cpp +++ b/libraries/AP_Relay/AP_Relay.cpp @@ -17,6 +17,9 @@ #ifdef CONFIG_ARCH_BOARD_PX4FMU_V1 #define RELAY1_PIN_DEFAULT 111 #define RELAY2_PIN_DEFAULT -1 +#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4) +#define RELAY1_PIN_DEFAULT -1 +#define RELAY2_PIN_DEFAULT -1 #else #define RELAY1_PIN_DEFAULT 54 #define RELAY2_PIN_DEFAULT 55