From 88e277420f1f1592823cbc398c1518f5a2a6c651 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 25 Mar 2021 12:48:59 +1100 Subject: [PATCH] AP_HAL_ChibiOS: removed assert calls these waste flash space and do not do us any good --- libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp index 8e5a17787b..e6bb662105 100644 --- a/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp +++ b/libraries/AP_HAL_ChibiOS/HAL_ChibiOS_Class.cpp @@ -300,7 +300,6 @@ void HAL_ChibiOS::run(int argc, char * const argv[], Callbacks* callbacks) const sdStart((SerialDriver*)&HAL_STDOUT_SERIAL, &stdoutcfg); #endif - assert(callbacks); g_callbacks = callbacks; //Takeover main