Skip to content

Commit e95921b

Browse files
committed
Fix samd pin tracking
1 parent 4fdf0d1 commit e95921b

File tree

1 file changed

+3
-0
lines changed
  • ports/atmel-samd/supervisor

1 file changed

+3
-0
lines changed

ports/atmel-samd/supervisor/port.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ safe_mode_t port_init(void) {
341341
// Reset everything into a known state before board_init.
342342
reset_port();
343343

344+
// Reset the pins too.
345+
reset_all_pins();
346+
344347
#ifdef SAMD21
345348
if (PM->RCAUSE.bit.BOD33 == 1 || PM->RCAUSE.bit.BOD12 == 1) {
346349
return SAFE_MODE_BROWNOUT;

0 commit comments

Comments
 (0)