mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* companion: RegionMap now used in Datastore
* companion: new CMD_SET_DEFAULT_FLOOD_SCOPE * support for regional builds with DEFAULT_REGION_SCOPE
This commit is contained in:
parent
6a939ed8f8
commit
d131e8ae35
5 changed files with 68 additions and 19 deletions
|
|
@ -15,6 +15,7 @@ DataStore::DataStore(FILESYSTEM& fs, mesh::RTCClock& clock) : _fs(&fs), _fsExtra
|
|||
#else
|
||||
identity_store(fs, "/identity")
|
||||
#endif
|
||||
, regions(keystore)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ DataStore::DataStore(FILESYSTEM& fs, FILESYSTEM& fsExtra, mesh::RTCClock& clock)
|
|||
#else
|
||||
identity_store(fs, "/identity")
|
||||
#endif
|
||||
, regions(keystore)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
|
@ -61,6 +63,8 @@ void DataStore::begin() {
|
|||
// init 'blob store' support
|
||||
_fs->mkdir("/bl");
|
||||
#endif
|
||||
|
||||
regions.load(_fs);
|
||||
}
|
||||
|
||||
#if defined(ESP32)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue