mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
Added inclusion guard to menu.h
git-svn-id: https://arducopter.googlecode.com/svn/trunk@962 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
40f1d184a1
commit
4e4a1bc375
@ -12,7 +12,9 @@
|
||||
///
|
||||
/// Arguments passed to the handler function are pre-converted to both
|
||||
/// long and float for convenience.
|
||||
///
|
||||
|
||||
#ifndef __AP_COMMON_MENU_H
|
||||
#define __AP_COMMON_MENU_H
|
||||
|
||||
#define MENU_COMMANDLINE_MAX 32 ///< maximum input line length
|
||||
#define MENU_ARGS_MAX 4 ///< maximum number of arguments
|
||||
@ -136,3 +138,4 @@ private:
|
||||
static const char __menu_name__ ##name[] PROGMEM = prompt; \
|
||||
static Menu name(__menu_name__ ##name, commands, sizeof(commands) / sizeof(commands[0]), preprompt)
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user