Browse Source

AP_Relay: don't default to using two PWMs as relays on FMUv4

master
Andrew Tridgell 9 years ago
parent
commit
ea38448372
  1. 3
      libraries/AP_Relay/AP_Relay.cpp

3
libraries/AP_Relay/AP_Relay.cpp

@ -17,6 +17,9 @@ @@ -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

Loading…
Cancel
Save