* Added tx code to correct transfers of 8 bit ARQ data.
    Needed to circumvent recent UTF-8 char support when
    transferring data files.
  * Added status bar notification when AMP extraction is
    is being processed.
  * Removed timeout on "Extracting FLAMP" and "Extracting FLMSG"
    status messages.
pull/1/head
David Freese 2012-10-07 20:14:27 -05:00
rodzic 7132471239
commit 320fc54797
2 zmienionych plików z 6 dodań i 3 usunięć

Wyświetl plik

@ -6223,7 +6223,7 @@ int get_tx_char(void)
if (idling) { return -1; }
if (arq_text_available)
return arq_get_char();
return (arq_get_char() & 0xFF);
if (active_modem == cw_modem && progdefaults.QSKadjust)
return szTestChar[2 * progdefaults.TestChar];

Wyświetl plik

@ -80,6 +80,7 @@ void rx_extract_reset()
rx_extract_buff[bufsize] = 0;
extract_wrap = false;
extract_flamp = false;
put_status("");
}
void rx_extract_timer(void *)
@ -286,9 +287,9 @@ void rx_extract_add(int c)
if ( strstr(rx_extract_buff, wrap_beg) && !extract_flamp) {
rx_buff.assign(wrap_beg);
rx_extract_msg = "Extract WRAP";
rx_extract_msg = "Extracting WRAP/FLMSG";
put_status(rx_extract_msg.c_str(), 60, STATUS_CLEAR);
put_status(rx_extract_msg.c_str());
memset(rx_extract_buff, ' ', bufsize);
extract_wrap = true;
@ -304,6 +305,8 @@ void rx_extract_add(int c)
}
} else if (strstr(rx_extract_buff, flamp_beg) && ! extract_wrap) {
extract_flamp = true;
rx_extract_msg = "Extracting FLAMP";
put_status(rx_extract_msg.c_str());
} else if (extract_flamp == true) {
REQ(rx_remove_timer);
REQ(rx_add_timer);