mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 03:23:35 +08:00
POSIX: 1) Really exit on CTRL-C, 2) Clean up boot log, 3) add eye-candy!
This commit is contained in:
@@ -61,7 +61,10 @@ extern "C" {
|
||||
void _SigIntHandler(int sig_num);
|
||||
void _SigIntHandler(int sig_num)
|
||||
{
|
||||
_ExitFlag = true;
|
||||
cout.flush();
|
||||
cout << endl << "Exiting.." << endl;
|
||||
cout.flush();
|
||||
_exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user