mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-23 03:50:28 +08:00
14 lines
240 B
C
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");
|
|
}
|