mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Stop any response from any mode when not enabled.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user