Restore PR. I have no idea where it went.

This commit is contained in:
Gregory Nutt 2016-05-23 17:45:15 -06:00
parent f734ad5730
commit 3a8ff78f87

View File

@ -77,7 +77,7 @@ void up_systemreset(void)
rstmr = getreg32(SAM_RSTC_MR);
rstmr &= ~RSTC_MR_ERSTL_MASK;
rstmr &= RSTC_MR_ERSTL(CONFIG_SAMV7_EXTRESET_ERST) | RSTC_MR_KEY;
rstmr &= RSTC_MR_ERSTL(CONFIG_SAMV7_EXTRESET_ERST-1) | RSTC_MR_KEY;
putreg32(rstmr, SAM_RSTC_MR);
#endif