minimize radioconfig file writes

This commit is contained in:
Kevin Hester committed 2021-03-11 18:29:47 +08:00
1 parent 76e2c39c63
commit a97c2ae6eb
4 files changed
+23 -12

No files matched your search

+1 -1
View File
@@ -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;