aboutsummaryrefslogtreecommitdiff
path: root/stmhal/pin_defs_stmhal.c
diff options
context:
space:
mode:
authorDamien George2015-01-01 21:06:20 +0000
committerDamien George2015-01-01 21:06:20 +0000
commit2cf6dfa280a8149941aafc852fbaae8bdfc4999e (patch)
tree9e9ea6ed5591f424359ce25cd0f56d8932380a0e /stmhal/pin_defs_stmhal.c
parentb36be5ff5172c97a8f37228c1ec163df466fd588 (diff)
stmhal: Prefix includes with py/; remove need for -I../py.
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,