mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 22:45:31 +00:00
Stop any response from any mode when not enabled.
This commit is contained in:
parent
3d164b4148
commit
0f6945ef4e
6 changed files with 33 additions and 0 deletions
|
|
@ -106,6 +106,9 @@ bool CPOCSAGControl::processData()
|
|||
if (length == 0U)
|
||||
return false;
|
||||
|
||||
if (!m_enabled)
|
||||
return false;
|
||||
|
||||
m_ric = 0U;
|
||||
m_ric |= (data[0U] << 16) & 0x00FF0000U;
|
||||
m_ric |= (data[1U] << 8) & 0x0000FF00U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue