diff options
author | Christian Cunningham <cc@localhost> | 2021-12-24 15:21:54 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-12-24 15:21:54 -0800 |
commit | 3a366988a0077474075d8f33ad76514d2fa0c5d6 (patch) | |
tree | 7aa293e59bee8308825e029069d395c628d230cd /src/sys/power.c | |
parent | d44bf5acb015edaeacc022f423bae4743b868f53 (diff) |
Standardized Formatting
Diffstat (limited to 'src/sys/power.c')
-rw-r--r-- | src/sys/power.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/power.c b/src/sys/power.c index 4abee01..6b04404 100644 --- a/src/sys/power.c +++ b/src/sys/power.c @@ -1,7 +1,8 @@ #include "../sys/core.h" #include "../sys/power.h" -void reboot(void) { +void reboot(void) +{ store32(PM_WDOG, PM_PASSWORD | 1); store32(PM_RSTC, PM_PASSWORD | PM_RSTC_WRCFG_FULL_RESET); } |