summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-08-31 17:46:03 -0400
committerDan Halbert <halbert@halwitz.org>2018-08-31 18:38:05 -0400
commit9ea809bef73e6862103cd71802803122e97bf80b (patch)
treefd918c0aec0e93abdefbff69052349446e15e0cc /main.c
parent585597a252be431fd4efe11a9120329b233ebba5 (diff)
add pin claiming to devices
Diffstat (limited to 'main.c')
-rwxr-xr-xmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 61d10bc08..1cb73e58a 100755
--- a/main.c
+++ b/main.c
@@ -451,7 +451,7 @@ void NORETURN __fatal_error(const char *msg) {
#ifndef NDEBUG
void MP_WEAK __assert_func(const char *file, int line, const char *func, const char *expr) {
- printf("Assertion '%s' failed, at file %s:%d\n", expr, file, line);
+ mp_printf(&mp_plat_print, "Assertion '%s' failed, at file %s:%d\n", expr, file, line);
__fatal_error("Assertion failed");
}
#endif