POSIX: Fix code style of main app

This commit is contained in:
Lorenz Meier 2016-04-05 16:34:45 -07:00
parent 205650efd7
commit b2029f7a35
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,8 @@ static void restore_term(void)
tcsetattr(0, TCSANOW, &orig_term);
}
bool px4_exit_requested(void) {
bool px4_exit_requested(void)
{
return _ExitFlag;
}
@ -245,6 +246,7 @@ int main(int argc, char **argv)
if (px4_exit_requested()) {
break;
}
// TODO: this should be true but for that we have to check all startup files
process_line(line, false);
}