From 7815b0f64e1bea374260307d61b1de7bcc5e6744 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sun, 13 Feb 2022 13:59:22 -0500 Subject: always turn off PA20 at boot --- watch-library/hardware/watch/watch_private.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'watch-library') 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; -- cgit v1.2.3