uncrustify libraries/AP_Common/menu.cpp

This commit is contained in:
uncrustify 2012-08-16 23:18:11 -07:00 committed by Pat Hickey
parent a6567abdc3
commit eb1fff9584

View File

@ -37,7 +37,7 @@ Menu::run(void)
char *s; char *s;
// loop performing commands // loop performing commands
for (;;) { for (;; ) {
// run the pre-prompt function, if one is defined // run the pre-prompt function, if one is defined
if ((NULL != _ppfunc) && !_ppfunc()) if ((NULL != _ppfunc) && !_ppfunc())
@ -46,7 +46,7 @@ Menu::run(void)
// loop reading characters from the input // loop reading characters from the input
len = 0; len = 0;
Serial.printf("%S] ", FPSTR(_prompt)); Serial.printf("%S] ", FPSTR(_prompt));
for (;;) { for (;; ) {
c = Serial.read(); c = Serial.read();
if (-1 == c) if (-1 == c)
continue; continue;