diff options
author | Damien George <damien.p.george@gmail.com> | 2018-03-27 20:25:24 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-03-27 20:25:24 +1100 |
commit | 6b51eb22c8200124bd1639f542f7757edb82e736 (patch) | |
tree | bb5f3e830aa8b17918100533ab1de69036d9178b /ports/stm32/accel.c | |
parent | b63cc1e9efb3618141b8f2cdd19ffd6823b73bb7 (diff) | |
download | micropython-6b51eb22c8200124bd1639f542f7757edb82e736.tar.gz micropython-6b51eb22c8200124bd1639f542f7757edb82e736.zip |
stm32: Consolidate include of genhdr/pins.h to single location in pin.h.
genhdr/pins.h is an internal header file that defines all of the pin
objects and it's cleaner to have pin.h include it (where the struct's for
these objects are defined) rather than an explicit include by every user.
Diffstat (limited to 'ports/stm32/accel.c')
-rw-r--r-- | ports/stm32/accel.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/stm32/accel.c b/ports/stm32/accel.c index 7b36e20823..8d61fb88d0 100644 --- a/ports/stm32/accel.c +++ b/ports/stm32/accel.c @@ -30,7 +30,6 @@ #include "py/mphal.h" #include "py/runtime.h" #include "pin.h" -#include "genhdr/pins.h" #include "i2c.h" #include "accel.h" |