summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/printf.c')
-rw-r--r--stmhal/printf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stmhal/printf.c b/stmhal/printf.c
index 87cf4f0f9e..611ad2df4c 100644
--- a/stmhal/printf.c
+++ b/stmhal/printf.c
@@ -29,9 +29,7 @@
#include <stdarg.h>
#include "py/obj.h"
-#ifdef MICROPY_HAL_H
-#include MICROPY_HAL_H
-#endif
+#include "py/mphal.h"
#if MICROPY_PY_BUILTINS_FLOAT
#include "py/formatfloat.h"