Add safe ESP32 transports and Indicator UI
Reserve board-specific GPIOs, make ESP-NOW channel/format handling configurable, and coordinate WiFi, BLE, NTP, MQTT, and host actions safely. Add the Indicator message page, exclusive transport selector, dynamic 480/320 rendering, larger transport typography, pairing cleanup, and corresponding tests and documentation.
This commit is contained in:
1 parent
2a82472853
commit
5af7b73ff9
75 files changed
+7886
-576
No files matched your search
@@ -100,8 +100,11 @@ void BaseChatMesh::bootstrapRTCfromContacts() {
|
||||
latest = contacts[i].lastmod;
|
||||
}
|
||||
}
|
||||
if (latest != 0) {
|
||||
getRTCClock()->setCurrentTime(latest + 1);
|
||||
if (latest != 0 && latest != UINT32_MAX) {
|
||||
const uint32_t contact_floor = latest + 1;
|
||||
if (contact_floor > getRTCClock()->getCurrentTime()) {
|
||||
getRTCClock()->setCurrentTime(contact_floor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user