mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Menu: fixed example warnings
This commit is contained in:
parent
a76688e630
commit
29f5e346c2
@ -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->printf("%d: int %ld float ", i, argv[i].i);
|
||||||
hal.console->println(argv[i].f, 6); // gross
|
hal.console->println(argv[i].f, 6); // gross
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int8_t
|
int8_t
|
||||||
menu_auto(uint8_t argc, const Menu::arg *argv)
|
menu_auto(uint8_t argc, const Menu::arg *argv)
|
||||||
{
|
{
|
||||||
hal.console->println("auto text");
|
hal.console->println("auto text");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const struct Menu::command top_menu_commands[] PROGMEM = {
|
const struct Menu::command top_menu_commands[] PROGMEM = {
|
||||||
|
Loading…
Reference in New Issue
Block a user