summaryrefslogtreecommitdiff
path: root/stmhal/pybstdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pybstdio.c')
-rw-r--r--stmhal/pybstdio.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/stmhal/pybstdio.c b/stmhal/pybstdio.c
index bc9e5d921..5597bbd68 100644
--- a/stmhal/pybstdio.c
+++ b/stmhal/pybstdio.c
@@ -29,16 +29,12 @@
#include <string.h>
#include <errno.h>
-#include "mpconfig.h"
-#include "misc.h"
-#include "qstr.h"
-#include "misc.h"
-#include "obj.h"
-#include "stream.h"
-#include MICROPY_HAL_H
+#include "py/obj.h"
+#include "py/stream.h"
#include "usb.h"
#include "uart.h"
#include "pybstdio.h"
+#include MICROPY_HAL_H
// TODO make stdin, stdout and stderr writable objects so they can
// be changed by Python code. This requires some changes, as these