mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_SITL: make it clear the panic message is a panic message
This commit is contained in:
parent
c8bbbd2720
commit
7a3e2d11db
|
@ -30,6 +30,7 @@ void panic(const char *errormsg, ...)
|
|||
va_list ap;
|
||||
|
||||
fflush(stdout);
|
||||
printf("PANIC: ");
|
||||
va_start(ap, errormsg);
|
||||
vprintf(errormsg, ap);
|
||||
va_end(ap);
|
||||
|
|
Loading…
Reference in New Issue