diff options
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/printf.c | 7 | ||||
| -rw-r--r-- | stmhal/pybstdio.h | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/stmhal/printf.c b/stmhal/printf.c index 137189b94..ca9b279cd 100644 --- a/stmhal/printf.c +++ b/stmhal/printf.c @@ -29,17 +29,10 @@ #include <stdarg.h> #include "mpconfig.h" -#include "std.h" #include "misc.h" -#include "systick.h" #include "qstr.h" #include "obj.h" #include "pfenv.h" -#if 0 -#include "lcd.h" -#endif -#include "uart.h" -#include "usb.h" #include "pybstdio.h" #if MICROPY_PY_BUILTINS_FLOAT diff --git a/stmhal/pybstdio.h b/stmhal/pybstdio.h index cdb7acfe5..08a2d0363 100644 --- a/stmhal/pybstdio.h +++ b/stmhal/pybstdio.h @@ -24,7 +24,7 @@ * THE SOFTWARE. */ -extern pyb_uart_obj_t *pyb_stdio_uart; +extern struct _pyb_uart_obj_t *pyb_stdio_uart; void stdout_tx_str(const char *str); void stdout_tx_strn(const char *str, mp_uint_t len); |
