mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 15:56:38 +08:00
Restore PR. I have no idea where it went.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user