mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2025-12-06 07:12:08 +01:00
Fix DMR/POCSAG selection in CAL mode
This commit is contained in:
parent
2903847ac2
commit
b401d06c1f
|
|
@ -144,7 +144,7 @@ uint8_t CCalDMR::write(const uint8_t* data, uint8_t length)
|
|||
if (m_transmit && m_state == DMRCAL1K_IDLE && m_calState == STATE_DMRDMO1K)
|
||||
m_state = DMRCAL1K_VH;
|
||||
|
||||
if (!m_transmit)
|
||||
if (m_transmit)
|
||||
io.ifConf(STATE_DMR, true);
|
||||
|
||||
return 0U;
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ uint8_t CPOCSAGTX::setCal(const uint8_t* data, uint8_t length)
|
|||
|
||||
m_cal = data[0U] == 1U;
|
||||
|
||||
if (!m_cal)
|
||||
if (m_cal)
|
||||
io.ifConf(STATE_POCSAG, true);
|
||||
|
||||
return 0U;
|
||||
|
|
|
|||
Loading…
Reference in a new issue