mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Back out the workaround for PSTR() warnings; it doesn't.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@912 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
165711f028
commit
f345d5392f
@ -12,10 +12,6 @@
|
|||||||
|
|
||||||
#include "include/menu.h"
|
#include "include/menu.h"
|
||||||
|
|
||||||
// Workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34734
|
|
||||||
#undef PSTR
|
|
||||||
#define PSTR(s) (__extension__({static prog_char __c[] = (s); &__c[0];}))
|
|
||||||
|
|
||||||
// statics
|
// statics
|
||||||
char Menu::_inbuf[MENU_COMMANDLINE_MAX];
|
char Menu::_inbuf[MENU_COMMANDLINE_MAX];
|
||||||
Menu::arg Menu::_argv[MENU_ARGS_MAX + 1];
|
Menu::arg Menu::_argv[MENU_ARGS_MAX + 1];
|
||||||
|
Loading…
Reference in New Issue
Block a user