HAL_PX4: format panic messages with a newline
This commit is contained in:
parent
c9799fb2b7
commit
966b9b9b9c
@ -190,6 +190,7 @@ void *PX4Scheduler::_timer_thread(void)
|
||||
void PX4Scheduler::panic(const prog_char_t *errormsg)
|
||||
{
|
||||
write(1, errormsg, strlen(errormsg));
|
||||
write(1, "\n", 1);
|
||||
hal.scheduler->delay_microseconds(10000);
|
||||
_px4_thread_should_exit = true;
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user