Skip to content

Commit

Permalink
Handle the case where the D-Star RF timeout timer is not stopped at t…
Browse files Browse the repository at this point in the history
…he end of a transmission.
  • Loading branch information
g4klx committed Jan 11, 2023
1 parent 75aef4b commit f75ad66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DStarControl.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2019,2021 Jonathan Naylor, G4KLX
* Copyright (C) 2015-2019,2021,2023 Jonathan Naylor, G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -640,15 +640,15 @@ void CDStarControl::writeEndRF()
{
m_rfState = RS_RF_LISTENING;

m_rfTimeoutTimer.stop();

if (m_netState == RS_NET_IDLE) {
m_display->clearDStar();

m_ackTimer.start();

if (m_network != NULL)
m_network->reset();
} else {
m_rfTimeoutTimer.stop();
}
}

Expand Down

0 comments on commit f75ad66

Please sign in to comment.