Skip to content

Commit

Permalink
Plane: fixes for 1280 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Tridgell committed Dec 20, 2012
1 parent 13ea0bb commit 1cb4724
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ArduPlane/test.pde
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ static int8_t test_adc(uint8_t argc, const Menu::arg *argv);
#endif
static int8_t test_ins(uint8_t argc, const Menu::arg *argv);
static int8_t test_battery(uint8_t argc, const Menu::arg *argv);
#if CONFIG_RELAY == ENABLED
static int8_t test_relay(uint8_t argc, const Menu::arg *argv);
#endif
static int8_t test_wp(uint8_t argc, const Menu::arg *argv);
static int8_t test_airspeed(uint8_t argc, const Menu::arg *argv);
static int8_t test_pressure(uint8_t argc, const Menu::arg *argv);
Expand All @@ -35,7 +37,9 @@ static const struct Menu::command test_menu_commands[] PROGMEM = {
{"passthru", test_passthru},
{"failsafe", test_failsafe},
{"battery", test_battery},
#if CONFIG_RELAY == ENABLED
{"relay", test_relay},
#endif
{"waypoints", test_wp},
{"xbee", test_xbee},
{"eedump", test_eedump},
Expand Down Expand Up @@ -280,6 +284,7 @@ test_battery(uint8_t argc, const Menu::arg *argv)

}

#if CONFIG_RELAY == ENABLED
static int8_t
test_relay(uint8_t argc, const Menu::arg *argv)
{
Expand All @@ -302,6 +307,7 @@ test_relay(uint8_t argc, const Menu::arg *argv)
}
}
}
#endif

static int8_t
test_wp(uint8_t argc, const Menu::arg *argv)
Expand Down

0 comments on commit 1cb4724

Please sign in to comment.