From 72f56ee8fc124fd8eddcdccaae12f20d3e354563 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 13 Dec 2024 10:34:11 +1100 Subject: [PATCH] AP_HAL_ChibiOS: print linefeed after panic message this makes the output much nicer and avoids including the linefeed in the caller --- libraries/AP_HAL_ChibiOS/system.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_ChibiOS/system.cpp b/libraries/AP_HAL_ChibiOS/system.cpp index dda37c5e2f..6c3c9a6868 100644 --- a/libraries/AP_HAL_ChibiOS/system.cpp +++ b/libraries/AP_HAL_ChibiOS/system.cpp @@ -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; }