mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
fix(l2): no remount while the card is a USB drive, vector packs locked across cores, time zone list, noise sweep restore
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -564,7 +564,8 @@ void UITask::buildHomeClock(lv_obj_t* box) {
|
||||
lv_obj_set_style_pad_top(row, 12, 0);
|
||||
char opts[200];
|
||||
int o = 0;
|
||||
for (int k = 0; k < telemetry::COUNT; k++) o += snprintf(opts + o, sizeof(opts) - o, "%s%s", k ? "\n" : "", telemetry::NAME[k]);
|
||||
for (int k = 0; k < telemetry::COUNT && o < (int)sizeof(opts) - 24; k++) // 137 bytes today; the list only grows
|
||||
o += snprintf(opts + o, sizeof(opts) - o, "%s%s", k ? "\n" : "", telemetry::NAME[k]);
|
||||
for (int i = 0; i < FIELDS; i++) {
|
||||
uint8_t f = _prefs ? _prefs->dashboard_fields[i] : telemetry::NONE;
|
||||
if (f >= telemetry::COUNT) f = telemetry::NONE;
|
||||
|
||||
Reference in New Issue
Block a user