diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-05-12 12:55:31 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-05-12 13:14:01 -0700 |
| commit | 7ea76e0889d3f11960056cfca3bde77a3b70c33e (patch) | |
| tree | d01549ae0293395e6560c39721969eecb3464962 /atmel-samd/common-hal/microcontroller/Pin.h | |
| parent | 6984425f5da415ff232bd93c1b3c3cf10f81c1c2 (diff) | |
atmel-samd: Pin reset improvements.
* Reset SWD lines to SWD rather than GPIO. This makes OpenOCD happier.
* Default speaker enable lines to False for CircuitPlayground to prevent
the speaker from buzzing when no sound is playing. Fixes #126
Diffstat (limited to 'atmel-samd/common-hal/microcontroller/Pin.h')
| -rw-r--r-- | atmel-samd/common-hal/microcontroller/Pin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/atmel-samd/common-hal/microcontroller/Pin.h b/atmel-samd/common-hal/microcontroller/Pin.h index 27c998e5c..fdf05885d 100644 --- a/atmel-samd/common-hal/microcontroller/Pin.h +++ b/atmel-samd/common-hal/microcontroller/Pin.h @@ -78,6 +78,7 @@ extern bool apa102_sck_in_use; extern bool apa102_mosi_in_use; #endif +void reset_all_pins(void); // reset_pin takes the pin number instead of the pointer so that objects don't // need to store a full pointer. void reset_pin(uint8_t pin); |
