HAL_SITL: flush stdout on panic
This commit is contained in:
parent
fc21e0f16f
commit
7ba957b946
@ -25,6 +25,7 @@ void panic(const char *errormsg, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
fflush(stdout);
|
||||
va_start(ap, errormsg);
|
||||
vprintf(errormsg, ap);
|
||||
va_end(ap);
|
||||
|
Loading…
Reference in New Issue
Block a user