always turn off PA20 at boot

This commit is contained in:
Joey Castillo 2022-02-13 13:59:22 -05:00
parent df3db08021
commit 7815b0f64e

View File

@ -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;