Browse Source

Plane: fixes for 1280 build

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
1cb4724b7f
  1. 6
      ArduPlane/test.pde

6
ArduPlane/test.pde

@ -14,7 +14,9 @@ static int8_t test_adc(uint8_t argc, const Menu::arg *argv); @@ -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);
@ -35,7 +37,9 @@ static const struct Menu::command test_menu_commands[] PROGMEM = { @@ -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},
@ -280,6 +284,7 @@ test_battery(uint8_t argc, const Menu::arg *argv) @@ -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)
{
@ -302,6 +307,7 @@ test_relay(uint8_t argc, const Menu::arg *argv) @@ -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)

Loading…
Cancel
Save