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/led.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/led.c')
-rw-r--r-- | ports/stm32/led.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/stm32/led.c b/ports/stm32/led.c index 9bbcaa6b3..a95d6c1a4 100644 --- a/ports/stm32/led.c +++ b/ports/stm32/led.c @@ -31,7 +31,6 @@ #include "timer.h" #include "led.h" #include "pin.h" -#include "genhdr/pins.h" #if defined(MICROPY_HW_LED1) |