From 29f5e346c21ff033f47cd1d5f712ac4a633453cf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 19 Dec 2012 11:18:08 +1100 Subject: [PATCH] Menu: fixed example warnings --- libraries/AP_Menu/examples/menu/menu.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_Menu/examples/menu/menu.pde b/libraries/AP_Menu/examples/menu/menu.pde index b88f3fb57d..c8bf0a416e 100644 --- a/libraries/AP_Menu/examples/menu/menu.pde +++ b/libraries/AP_Menu/examples/menu/menu.pde @@ -24,12 +24,14 @@ menu_test(uint8_t argc, const Menu::arg *argv) hal.console->printf("%d: int %ld float ", i, argv[i].i); hal.console->println(argv[i].f, 6); // gross } + return 0; } int8_t menu_auto(uint8_t argc, const Menu::arg *argv) { hal.console->println("auto text"); + return 0; } const struct Menu::command top_menu_commands[] PROGMEM = {