Make region changes take effect immedately
This commit is contained in:
1 parent
f698883c02
commit
cfcb62bd18
3 files changed
+12
-11
No files matched your search
@@ -198,7 +198,10 @@ void MeshService::loop()
|
||||
bool MeshService::reloadConfig()
|
||||
{
|
||||
// If we can successfully set this radio to these settings, save them to disk
|
||||
|
||||
// This will also update the region as needed
|
||||
bool didReset = nodeDB.resetRadioConfig(); // Don't let the phone send us fatally bad settings
|
||||
|
||||
configChanged.notifyObservers(NULL);
|
||||
nodeDB.saveToDisk();
|
||||
|
||||
|
||||
Reference in new issue
Block a user