diff options
Diffstat (limited to 'stmhal/printf.c')
-rw-r--r-- | stmhal/printf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/printf.c b/stmhal/printf.c index 7af4f659d2..038ee99376 100644 --- a/stmhal/printf.c +++ b/stmhal/printf.c @@ -30,7 +30,9 @@ #include "py/obj.h" #include "py/pfenv.h" +#ifdef MICROPY_HAL_H #include MICROPY_HAL_H +#endif #if MICROPY_PY_BUILTINS_FLOAT #include "py/formatfloat.h" |