From 8b9757e52cc79c9218a490f9aad9ff9914c05c0e Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Sat, 7 May 2022 23:48:59 -0400 Subject: [PATCH] cleanup unused and unnecessary code; --- host/Host.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/host/Host.cpp b/host/Host.cpp index d06947c6..23f7721e 100644 --- a/host/Host.cpp +++ b/host/Host.cpp @@ -1022,14 +1022,7 @@ int Host::run() else { ret = p25->writeEndRF(); if (ret) { - if (m_state == STATE_IDLE) { - m_modeTimer.setTimeout(m_rfModeHang); - setState(STATE_P25); - } - - if (m_state == STATE_P25) { - m_modeTimer.start(); - } + m_modeTimer.start(); } } }