Skip to content

Commit

Permalink
Add more debugging logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Dec 5, 2023
1 parent 1b27774 commit 08ccf14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MMDVMHost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2612,7 +2612,7 @@ void CMMDVMHost::remoteControl()
m_nxdnNetwork->enable(true);
break;
case RCD_ENABLE_M17:
if (m_m17 != NULL && m_m17Enabled == false)
if (m_m17 != NULL && !m_m17Enabled)
processEnableCommand(m_m17Enabled, true);
if (m_m17Network != NULL)
m_m17Network->enable(true);
Expand Down Expand Up @@ -2656,7 +2656,7 @@ void CMMDVMHost::remoteControl()
m_nxdnNetwork->enable(false);
break;
case RCD_DISABLE_M17:
if (m_m17 != NULL && m_m17Enabled == true)
if (m_m17 != NULL && m_m17Enabled)
processEnableCommand(m_m17Enabled, false);
if (m_m17Network != NULL)
m_m17Network->enable(false);
Expand Down

0 comments on commit 08ccf14

Please sign in to comment.