Manage MediaMesh forwarding region with saved radio2 profiles

This commit is contained in:
mikecarper committed 2026-10-26 22:15:37 -07:00
1 parent a301820be3
commit 71e42b2e62
21 files changed
+831 -7

No files matched your search

+1
View File
@@ -188,6 +188,7 @@ bool RegionMap::load(FILESYSTEM* _fs, const char* path) {
if (loaded_next == 0xFFFF && loaded_count < MAX_REGION_ENTRIES) success = false;
if (success) {
_store->invalidateCache();
memcpy(regions, loaded, loaded_count * sizeof(RegionEntry));
if (loaded_count < MAX_REGION_ENTRIES) {
memset(&regions[loaded_count], 0, (MAX_REGION_ENTRIES - loaded_count) * sizeof(RegionEntry));