Manage MediaMesh forwarding region with saved radio2 profiles
This commit is contained in:
1 parent
a301820be3
commit
71e42b2e62
21 files changed
+831
-7
No files matched your search
@@ -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(®ions[loaded_count], 0, (MAX_REGION_ENTRIES - loaded_count) * sizeof(RegionEntry));
|
||||
|
||||
Reference in new issue
Block a user