summaryrefslogtreecommitdiffstats
path: root/platforms/chibios/vendors/RP
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/vendors/RP')
-rw-r--r--platforms/chibios/vendors/RP/pico_sdk_shims.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/platforms/chibios/vendors/RP/pico_sdk_shims.c b/platforms/chibios/vendors/RP/pico_sdk_shims.c
index 239155c086..caab400531 100644
--- a/platforms/chibios/vendors/RP/pico_sdk_shims.c
+++ b/platforms/chibios/vendors/RP/pico_sdk_shims.c
@@ -2,7 +2,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include <stdbool.h>
-#include <ch.h>
+
+extern void chSysHalt(const char *reason) __attribute__((noreturn));
void panic(const char *fmt, ...) {
chSysHalt(fmt);