Wasn't compiling.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1213 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2010-12-20 02:34:46 +00:00
parent 290635b354
commit 80a5016658
1 changed files with 4 additions and 6 deletions

View File

@ -2,11 +2,9 @@
#include <FastSerial.h>
#include <AP_Common.h>
#include <avr/pgmspace.h>
FastSerialPort0(Serial);
int
int8_t
menu_test(uint8_t argc, const Menu::arg *argv)
{
int i;
@ -18,15 +16,15 @@ menu_test(uint8_t argc, const Menu::arg *argv)
}
}
int
int8_t
menu_auto(uint8_t argc, const Menu::arg *argv)
{
Serial.println("auto text");
}
const struct Menu::command top_menu_commands[] PROGMEM = {
{"*", menu_auto},
{"test", menu_test},
{"*", menu_auto},
{"test", menu_test},
};
MENU(top, "menu", top_menu_commands);