mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-09 01:13:57 -04:00
uncrustify libraries/AP_Common/menu.cpp
This commit is contained in:
parent
a6567abdc3
commit
eb1fff9584
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user