we now use 13 different channel numbers

This commit is contained in:
geeksville
2020-02-11 11:56:48 -08:00
parent 124c3e2edd
commit 5aaae9c4fe
12 changed files with 171 additions and 66 deletions

View File

@@ -163,6 +163,14 @@ void MeshService::loop()
}
}
/// The radioConfig object just changed, call this to force the hw to change to the new settings
void MeshService::reloadConfig()
{
// If we can successfully set this radio to these settings, save them to disk
radio.reloadConfig();
nodeDB.saveToDisk();
}
/// Given a ToRadio buffer parse it and properly handle it (setup radio, owner or send packet into the mesh)
void MeshService::handleToRadio(std::string s)
{