summaryrefslogtreecommitdiff
path: root/stmhal/pin.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/pin.c')
-rw-r--r--stmhal/pin.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/stmhal/pin.c b/stmhal/pin.c
index 286e0992c..b71c93efc 100644
--- a/stmhal/pin.c
+++ b/stmhal/pin.c
@@ -28,14 +28,10 @@
#include <stdint.h>
#include <string.h>
-#include "mpconfig.h"
-#include "nlr.h"
-#include "misc.h"
-#include "qstr.h"
-#include "obj.h"
-#include "runtime.h"
-#include MICROPY_HAL_H
+#include "py/nlr.h"
+#include "py/runtime.h"
#include "pin.h"
+#include MICROPY_HAL_H
/// \moduleref pyb
/// \class Pin - control I/O pins