mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-03 03:11:57 +00:00
fix: settings and lists lost to a restart mid-save on ESP32, LR1121 boards, repeater/room sims
- A restart between commitTempFile()'s remove and rename left only the .tmp; loads now recover it (prefs, contacts, channels, scopes). - CustomLR1121Wrapper lacked readLiveRSSI/readLiveSNR: LR1121 boards didn't compile. - The repeater and room server sims gain DynamicConfigSerializer.cpp and CommonRadioPrefs.cpp (broken since the v1.18 merge). - Comments still describing the removed DualSerialInterface. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -335,8 +335,7 @@ class HomeScreen : public UIScreen {
|
||||
if (!on) strcpy(v, "-");
|
||||
else if (_task->isBLEConnected()) strcpy(v, "Connected");
|
||||
// The pairing PIN is BLE-specific: show it while BLE is on but not yet
|
||||
// bonded. (Gating on a plain isConnected() broke this on dual builds,
|
||||
// where it's hardcoded true.)
|
||||
// bonded. (Not a plain isConnected(): a USB port makes that true.)
|
||||
else if (the_mesh.getBLEPin() != 0) snprintf(v, sizeof(rows[0].value), "PIN %d", (int)the_mesh.getBLEPin());
|
||||
else strcpy(v, "Waiting");
|
||||
} else if (page == ADVERT) {
|
||||
|
||||
Reference in New Issue
Block a user