Fix frame length bug at UPSAT FSK transmitter

The frame length field was set in number of bits instead of number of
bytes, only when the transmitter was configured in AX.25 mode.
This commit is contained in:
Manolis Surligas 2016-05-11 14:25:16 +03:00
parent df8cffbe1a
commit 8a81ebc4ff
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ namespace gr
* the address field (if exists) and the payload. Length and CRC fields
* are NOT included.
*/
d_pdu[d_preamble_len + d_sync_word_len] = (uint8_t) encoded_len;
d_pdu[d_preamble_len + d_sync_word_len] = (uint8_t) encoded_len/8;
/* If it is necessary calculate and append the CRC */
if (d_append_crc) {