minimize radioconfig file writes
This commit is contained in:
1 parent
76e2c39c63
commit
a97c2ae6eb
4 files changed
+23
-12
No files matched your search
@@ -104,7 +104,7 @@ bool MeshService::reloadConfig()
|
||||
// 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);
|
||||
configChanged.notifyObservers(NULL); // This will cause radio hardware to change freqs etc
|
||||
nodeDB.saveToDisk();
|
||||
|
||||
return didReset;
|
||||
|
||||
Reference in new issue
Block a user