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:
parent
df8cffbe1a
commit
8a81ebc4ff
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue