cherry-pick: unphone support (#5174)

* unphone part 1

* Unphone support

* update HWid unphone

---------

Co-authored-by: mverch67 <manuel.verch@gmx.de>
This commit is contained in:
Tom Fifield
2024-10-28 19:25:25 +11:00
committed by GitHub
parent d14d42ba2c
commit c071eed6a3
4 changed files with 169 additions and 6 deletions

View File

@@ -266,14 +266,19 @@ void setup()
#ifdef DEBUG_PORT
consoleInit(); // Set serial baud rate and init our mesh console
#endif
#ifdef UNPHONE
unphone.printStore();
#endif
#if ARCH_PORTDUINO
struct timeval tv;
tv.tv_sec = time(NULL);
tv.tv_usec = 0;
perhapsSetRTC(RTCQualityNTP, &tv);
#endif
powerMonInit();
powerMonInit();
serialSinceMsec = millis();
LOG_INFO("\n\n//\\ E S H T /\\ S T / C\n");
@@ -1190,4 +1195,4 @@ void loop()
mainDelay.delay(delayMsec);
}
}
#endif
#endif