Skip to content

Commit f75ad66

Browse files
committed
Handle the case where the D-Star RF timeout timer is not stopped at the end of a transmission.
1 parent 75aef4b commit f75ad66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DStarControl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2015-2019,2021 Jonathan Naylor, G4KLX
2+
* Copyright (C) 2015-2019,2021,2023 Jonathan Naylor, G4KLX
33
*
44
* This program is free software; you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
@@ -640,15 +640,15 @@ void CDStarControl::writeEndRF()
640640
{
641641
m_rfState = RS_RF_LISTENING;
642642

643+
m_rfTimeoutTimer.stop();
644+
643645
if (m_netState == RS_NET_IDLE) {
644646
m_display->clearDStar();
645647

646648
m_ackTimer.start();
647649

648650
if (m_network != NULL)
649651
m_network->reset();
650-
} else {
651-
m_rfTimeoutTimer.stop();
652652
}
653653
}
654654

0 commit comments

Comments
 (0)