diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-02-13 13:59:22 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-02-13 13:59:22 -0500 |
commit | 7815b0f64e1bea374260307d61b1de7bcc5e6744 (patch) | |
tree | 0949641abe60ef02054b16298826d1231f730a7b /watch-library/hardware/watch | |
parent | df3db080219476a16e4231a03cad9e53af311fe4 (diff) | |
download | Sensor-Watch-7815b0f64e1bea374260307d61b1de7bcc5e6744.tar.gz Sensor-Watch-7815b0f64e1bea374260307d61b1de7bcc5e6744.tar.bz2 Sensor-Watch-7815b0f64e1bea374260307d61b1de7bcc5e6744.zip |
always turn off PA20 at boot
Diffstat (limited to 'watch-library/hardware/watch')
-rw-r--r-- | watch-library/hardware/watch/watch_private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-library/hardware/watch/watch_private.c b/watch-library/hardware/watch/watch_private.c index 5ec1de21..e4fa4b9a 100644 --- a/watch-library/hardware/watch/watch_private.c +++ b/watch-library/hardware/watch/watch_private.c @@ -28,7 +28,7 @@ void _watch_init(void) { // disable the LED pin (it may have been enabled by the bootloader) - watch_disable_digital_output(RED); + watch_disable_digital_output(GPIO(GPIO_PORTA, 20)); // RAM should be back-biased in STANDBY PM->STDBYCFG.bit.BBIASHS = 1; |