AP_Menu: save a little ram by reducing MENU_ARGS_MAX to 3

* we only ever use 3 in arducopter's gyro gain setup
This commit is contained in:
Pat Hickey 2012-12-14 14:30:53 -08:00 committed by Andrew Tridgell
parent d5d97be837
commit 104ad8f6c8
1 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,8 @@
#include <AP_HAL.h>
#define MENU_COMMANDLINE_MAX 32 ///< maximum input line length
#define MENU_ARGS_MAX 4 ///< maximum number of arguments
#define MENU_COMMAND_MAX 14 ///< maximum size of a command name
#define MENU_ARGS_MAX 3 ///< maximum number of arguments
#define MENU_COMMAND_MAX 14 ///< maximum size of a command name
/// Class defining and handling one menu tree
class Menu {