Skip to content

Commit

Permalink
AP_HAL_ChibiOS: print linefeed after panic message
Browse files Browse the repository at this point in the history
this makes the output much nicer and avoids including the linefeed in the caller
  • Loading branch information
peterbarker committed Dec 13, 2024
1 parent dc6c799 commit 72f56ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_HAL_ChibiOS/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ void panic(const char *errormsg, ...)
va_start(ap, errormsg);
vprintf(errormsg, ap);
va_end(ap);
printf("\n");
hal.scheduler->delay(delay_ms);
delay_ms = 500;
}
Expand Down

0 comments on commit 72f56ee

Please sign in to comment.