Portduino reboot (#3033)

* Portduino reboot

* separate blocks

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
authored and GitHub committed 2023-12-27 08:16:53 -06:00
1 parent 2d35f72d85
commit 5110de4838
1 file changed
+5
+5
View File
@@ -27,6 +27,11 @@ void powerCommandsCheck()
Wire.end();
Serial1.end();
reboot();
#elif defined(ARCH_PORTDUINO)
deInitApiServer();
SPI.end();
Wire.end();
reboot();
#else
rebootAtMsec = -1;
LOG_WARN("FIXME implement reboot for this platform. Note that some settings require a restart to be applied.\n");