Change deviation and power for POCSAG cal

This commit is contained in:
Andy CA6JAU 2019-02-04 14:23:41 -03:00
parent 5932cc227b
commit 2903847ac2
2 changed files with 13 additions and 7 deletions

View file

@ -294,9 +294,8 @@ uint8_t CSerialPort::setConfig(const uint8_t* data, uint8_t length)
m_pocsagEnable = true;
m_modemState = STATE_POCSAG;
m_calState = modemState;
//if (m_firstCal)
// io.updateCal();
io.ifConf(STATE_POCSAG, true);
if (m_firstCal)
io.updateCal();
}
else {
m_modemState = modemState;
@ -392,8 +391,8 @@ uint8_t CSerialPort::setMode(const uint8_t* data, uint8_t length)
m_pocsagEnable = true;
tmpState = STATE_POCSAG;
m_calState = modemState;
//if (m_firstCal)
// io.updateCal();
if (m_firstCal)
io.updateCal();
}
else {
tmpState = modemState;