fix some configuration save issues in calibration mode;

pull/12/head
Bryan Biedenkapp 4 years ago
parent 9747e9a2e0
commit 2f2fee70ba

@ -1117,6 +1117,12 @@ int HostCal::run()
case 'S': case 'S':
case 's': case 's':
{ {
m_mode = STATE_IDLE;
writeConfig();
if (m_isHotspot) {
writeRFParams();
}
writeSymbolAdjust();
yaml::Serialize(m_conf, m_confFile.c_str(), yaml::SerializeConfig(4, 64, false, false)); yaml::Serialize(m_conf, m_confFile.c_str(), yaml::SerializeConfig(4, 64, false, false));
LogMessage(LOG_CAL, " - Saved configuration to %s", m_confFile.c_str()); LogMessage(LOG_CAL, " - Saved configuration to %s", m_confFile.c_str());
if (writeFlash()) { if (writeFlash()) {

Loading…
Cancel
Save

Powered by TurnKey Linux.