From 81413d2a767597008079642674a0b19b7ecad3a7 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Fri, 13 Jan 2012 08:55:02 -0800 Subject: [PATCH] re-enabled relay test --- ArduCopter/test.pde | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ArduCopter/test.pde b/ArduCopter/test.pde index de155c4975..b965847a89 100644 --- a/ArduCopter/test.pde +++ b/ArduCopter/test.pde @@ -22,7 +22,7 @@ static int8_t test_battery(uint8_t argc, const Menu::arg *argv); //static int8_t test_reverse(uint8_t argc, const Menu::arg *argv); static int8_t test_tuning(uint8_t argc, const Menu::arg *argv); static int8_t test_current(uint8_t argc, const Menu::arg *argv); -//static int8_t test_relay(uint8_t argc, const Menu::arg *argv); +static int8_t test_relay(uint8_t argc, const Menu::arg *argv); static int8_t test_wp(uint8_t argc, const Menu::arg *argv); #if HIL_MODE != HIL_MODE_ATTITUDE static int8_t test_baro(uint8_t argc, const Menu::arg *argv); @@ -70,7 +70,7 @@ const struct Menu::command test_menu_commands[] PROGMEM = { {"tune", test_tuning}, //{"tri", test_tri}, {"current", test_current}, -// {"relay", test_relay}, + {"relay", test_relay}, {"wp", test_wp}, //{"nav", test_nav}, #if HIL_MODE != HIL_MODE_ATTITUDE @@ -777,9 +777,8 @@ test_current(uint8_t argc, const Menu::arg *argv) return (0); } -/* -//static int8_t -//test_relay(uint8_t argc, const Menu::arg *argv) + +static int8_t test_relay(uint8_t argc, const Menu::arg *argv) { print_hit_enter(); delay(1000); @@ -800,7 +799,7 @@ test_current(uint8_t argc, const Menu::arg *argv) } } } -*/ + static int8_t test_wp(uint8_t argc, const Menu::arg *argv) {