diff options
| author | Damien George | 2014-11-05 21:16:41 +0000 |
|---|---|---|
| committer | Damien George | 2014-11-05 21:16:41 +0000 |
| commit | 7860c2a68acd1ccd28cb4bb87819487fd6966a9e (patch) | |
| tree | c18a1aa3d44b4f3f4510e1ff19eac166f15007dd /stmhal | |
| parent | be8e99c7d4ac4d46069a358436a7036a3066d0a9 (diff) | |
py: Fix some macros defines; cleanup some includes.
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); |
