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

This commit is contained in:
Andrew Tridgell 2015-11-25 18:29:27 +11:00
parent 155e82c1b3
commit ea38448372
1 changed files with 3 additions and 0 deletions

View File

@ -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