Browse Source

fixup relay merge

master
Andrew Tridgell 12 years ago
parent
commit
0b2960e504
  1. 2
      libraries/AP_Relay/AP_Relay.cpp

2
libraries/AP_Relay/AP_Relay.cpp

@ -14,7 +14,7 @@ extern const AP_HAL::HAL& hal; @@ -14,7 +14,7 @@ extern const AP_HAL::HAL& hal;
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
#define RELAY_PIN 47
#else CONFIG_HAL_BOARD == HAL_BOARD_APM2
#elif CONFIG_HAL_BOARD == HAL_BOARD_APM2
#define RELAY_PIN 26
#else
#error "no RELAY_PIN defined for this board"

Loading…
Cancel
Save