summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/pin.c2
-rw-r--r--stmhal/pin_named_pins.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/pin.c b/stmhal/pin.c
index b71c93efc3..91d5d916da 100644
--- a/stmhal/pin.c
+++ b/stmhal/pin.c
@@ -30,8 +30,8 @@
#include "py/nlr.h"
#include "py/runtime.h"
-#include "pin.h"
#include MICROPY_HAL_H
+#include "pin.h"
/// \moduleref pyb
/// \class Pin - control I/O pins
diff --git a/stmhal/pin_named_pins.c b/stmhal/pin_named_pins.c
index 420a5d9e0a..f6ee165711 100644
--- a/stmhal/pin_named_pins.c
+++ b/stmhal/pin_named_pins.c
@@ -28,8 +28,8 @@
#include <string.h>
#include "py/runtime.h"
-#include "pin.h"
#include MICROPY_HAL_H
+#include "pin.h"
STATIC void pin_named_pins_obj_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t self_in, mp_print_kind_t kind) {
pin_named_pins_obj_t *self = self_in;