We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fdf0d1 commit e95921bCopy full SHA for e95921b
ports/atmel-samd/supervisor/port.c
@@ -341,6 +341,9 @@ safe_mode_t port_init(void) {
341
// Reset everything into a known state before board_init.
342
reset_port();
343
344
+ // Reset the pins too.
345
+ reset_all_pins();
346
+
347
#ifdef SAMD21
348
if (PM->RCAUSE.bit.BOD33 == 1 || PM->RCAUSE.bit.BOD12 == 1) {
349
return SAFE_MODE_BROWNOUT;
0 commit comments