aboutsummaryrefslogtreecommitdiff
path: root/stmhal/pin_defs_stmhal.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pin_defs_stmhal.c')
-rw-r--r--stmhal/pin_defs_stmhal.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/stmhal/pin_defs_stmhal.c b/stmhal/pin_defs_stmhal.c
index c2409dc6c..6dfefb6bb 100644
--- a/stmhal/pin_defs_stmhal.c
+++ b/stmhal/pin_defs_stmhal.c
@@ -1,11 +1,6 @@
-#include "mpconfig.h"
-#include "nlr.h"
-#include "misc.h"
-#include "qstr.h"
-#include "obj.h"
-#include "runtime.h"
-#include MICROPY_HAL_H
+#include "py/obj.h"
#include "pin.h"
+#include MICROPY_HAL_H
// Returns the pin mode. This value returned by this macro should be one of:
// GPIO_MODE_INPUT, GPIO_MODE_OUTPUT_PP, GPIO_MODE_OUTPUT_OD,