From 328cf01436ae19a47c818af6c36833af388db384 Mon Sep 17 00:00:00 2001 From: Josh Henderson Date: Fri, 20 Aug 2021 02:05:43 -0400 Subject: [PATCH] AP_HAL_SITL: make panic() WEAK --- libraries/AP_HAL_SITL/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_SITL/system.cpp b/libraries/AP_HAL_SITL/system.cpp index 4cf62433fc..7113d6a26f 100644 --- a/libraries/AP_HAL_SITL/system.cpp +++ b/libraries/AP_HAL_SITL/system.cpp @@ -25,7 +25,7 @@ void init() gettimeofday(&state.start_time, nullptr); } -void panic(const char *errormsg, ...) +void WEAK panic(const char *errormsg, ...) { va_list ap;