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/spi.c | |
parent | b63cc1e9efb3618141b8f2cdd19ffd6823b73bb7 (diff) |
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/spi.c')
-rw-r--r-- | ports/stm32/spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/stm32/spi.c b/ports/stm32/spi.c index 6a6a412f7..a8abebee4 100644 --- a/ports/stm32/spi.c +++ b/ports/stm32/spi.c @@ -32,7 +32,6 @@ #include "extmod/machine_spi.h" #include "irq.h" #include "pin.h" -#include "genhdr/pins.h" #include "bufhelper.h" #include "spi.h" |