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:
@@ -83,10 +83,9 @@ void UITask::mapRegionAction(uint8_t act) {
|
||||
}
|
||||
case A_DELETE: {
|
||||
if (!tapConfirmed(s_del_lbl, "Delete?")) return;
|
||||
char path[80];
|
||||
snprintf(path, sizeof(path), "%s/%s", mapview::VECTOR_ROOT, p.file);
|
||||
mapview::s_vpacks.closeOpen();
|
||||
remove(path);
|
||||
char file[sizeof(p.file)];
|
||||
snprintf(file, sizeof(file), "%s", p.file); // p is the list's: read again by removePack()
|
||||
mapview::s_vpacks.removePack(file);
|
||||
mapview::s_vector.available(); // lists the packs again, forgets the data read
|
||||
mapview::labels::flush();
|
||||
mapview::s_cache.invalidate();
|
||||
|
||||
Reference in New Issue
Block a user