diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-04-12 15:24:50 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-04-12 15:24:50 -0700 |
| commit | 4a4f29b8f95aa67f63397ae4efe78c6994398ccf (patch) | |
| tree | 8ff1fc64edcfca06e5dc6d79a84c259197046cd3 /shared-module/busio | |
| parent | 8505de1ced9e567867f2530cee241b28f3456b60 (diff) | |
atmel-samd: Rework status LED implementation
* Track status pin use by user code separately so it can take over the pins and then give them back.
* Switch to hardware SPI for APA102 on Gemma and Trinket.
* Merge microcontroller/types.h into microcontroller/Pin.h to better match approach going forwards.
Diffstat (limited to 'shared-module/busio')
| -rw-r--r-- | shared-module/busio/OneWire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-module/busio/OneWire.c b/shared-module/busio/OneWire.c index 0e3c2c384..73d3d29d7 100644 --- a/shared-module/busio/OneWire.c +++ b/shared-module/busio/OneWire.c @@ -25,7 +25,7 @@ */ // Wraps the bitbangio implementation of OneWire for use in busio. -#include "common-hal/microcontroller/types.h" +#include "common-hal/microcontroller/Pin.h" #include "shared-bindings/bitbangio/OneWire.h" #include "shared-module/busio/OneWire.h" |
