qmk-firmware/platforms/chibios/vendors/RP/pico_sdk_shims.c
2022-07-02 15:18:50 +10:00

14 lines
240 B
C

// Copyright 2022 Stefan Kerkmann
// SPDX-License-Identifier: GPL-2.0-or-later
#include <stdbool.h>
#include <ch.h>
void panic(const char *fmt, ...) {
chSysHalt(fmt);
}
void hard_assertion_failure(void) {
panic("hard assert");
}