Simplify the connected logic.

pull/1/head
Jonathan Naylor 8 years ago
parent 91d2645011
commit 8a5e8b7dcb

@ -209,7 +209,7 @@ void* CIcomController::Entry()
break;
}
if (retryTimer.isRunning() && retryTimer.hasExpired() && connected) {
if (retryTimer.isRunning() && retryTimer.hasExpired()) {
assert(storeLength > 0U);
CUtils::dump(wxT("Re-Sending"), storeData, storeLength + 1U);
@ -222,7 +222,7 @@ void* CIcomController::Entry()
pollTimer.start();
}
if (txSpace && !m_txData.isEmpty() && connected) {
if (txSpace && !m_txData.isEmpty()) {
m_txData.getData(storeData, 1U);
storeLength = storeData[0U];

Loading…
Cancel
Save

Powered by TurnKey Linux.