Clean up, fix reboot, minimize changes

This commit is contained in:
Jonathan Bennett
2023-11-15 20:33:53 -06:00
parent c3e3569c14
commit a144d5d6cc
6 changed files with 35 additions and 33 deletions

View File

@@ -14,6 +14,8 @@ void powerCommandsCheck()
NVIC_SystemReset();
#elif defined(ARCH_RP2040)
rp2040.reboot();
#elif defined(ARCH_RASPBERRY_PI)
exit(EXIT_SUCCESS);
#else
rebootAtMsec = -1;
LOG_WARN("FIXME implement reboot for this platform. Note that some settings require a restart to be applied.\n");