mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2026-04-06 06:43:38 +00:00
Change deviation and power for POCSAG cal
This commit is contained in:
parent
5932cc227b
commit
2903847ac2
2 changed files with 13 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue