summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/misc/mperror.c
diff options
context:
space:
mode:
Diffstat (limited to 'cc3200/misc/mperror.c')
-rw-r--r--cc3200/misc/mperror.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cc3200/misc/mperror.c b/cc3200/misc/mperror.c
index d858813406..12fd3d8ad9 100644
--- a/cc3200/misc/mperror.c
+++ b/cc3200/misc/mperror.c
@@ -37,7 +37,6 @@
#include "obj.h"
#include "inc/hw_memmap.h"
#include "pybuart.h"
-#include "pybstdio.h"
#include "utils.h"
@@ -45,9 +44,9 @@ void NORETURN __fatal_error(const char *msg) {
if (msg != NULL) {
// wait for 20ms
UtilsDelay(UTILS_DELAY_US_TO_COUNT(20000));
- stdout_tx_str("\r\nFATAL ERROR:");
- stdout_tx_str(msg);
- stdout_tx_str("\r\n");
+ mp_hal_stdout_tx_str("\r\nFATAL ERROR:");
+ mp_hal_stdout_tx_str(msg);
+ mp_hal_stdout_tx_str("\r\n");
}
for ( ;; ) {__WFI();}
}