mirror of
https://git.code.sf.net/p/fldigi/flmsg
synced 2026-08-13 17:30:58 -04:00
Timeout action
* Changed timeout to disregard user setting fldigi squelch
full open
This commit is contained in:
parent
19e188e91e
commit
2ffa8c76c4
1 changed files with 10 additions and 5 deletions
|
|
@ -721,6 +721,8 @@ void arq::rcv_chars()
|
|||
RxFrameQueue.clear();
|
||||
RxFrameQueue.append(rxbuf);
|
||||
} else if (RxFrameQueue.find(ARQ_SOF) == 0) {
|
||||
retrytime = rtry();
|
||||
timeout = (getRetries() + 1 ) * retrytime;
|
||||
if ((rxbuf == ARQ_EOF) && (chkchar != ESC_CHR)) {
|
||||
RxFrameQueue += c;
|
||||
parseFrame(RxFrameQueue);
|
||||
|
|
@ -731,20 +733,23 @@ void arq::rcv_chars()
|
|||
} else if ((rxbuf == ARQ_EOF) && (chkchar != ESC_CHR)) {
|
||||
RxFrameQueue.clear();
|
||||
}
|
||||
if (RxFrameQueue.length() > 1200)
|
||||
exec_arqreset();
|
||||
}
|
||||
retfunc:
|
||||
if (!OK_to_transmit()) return;
|
||||
if (trx()) return;
|
||||
//!OK_to_transmit()) return;
|
||||
|
||||
if (RxFrameQueue.find(ARQ_SOF) == 0) {
|
||||
retrytime = rtry();
|
||||
timeout = (getRetries() + 1 ) * retrytime;
|
||||
} else if (LinkState != ARQ_DOWN) {
|
||||
if (LinkState != ARQ_DOWN) {
|
||||
--timeout;
|
||||
if (timeout == 0) {
|
||||
printLOG("Timed out!", "");
|
||||
exec_arqreset();
|
||||
}
|
||||
}
|
||||
// if (RxFrameQueue.find(ARQ_SOF) == 0) {
|
||||
// retrytime = rtry();
|
||||
// timeout = (getRetries() + 1 ) * retrytime;
|
||||
}
|
||||
|
||||
void arq::sendchars()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue