Fix size of transmitted packets
This commit is contained in:
parent
de0f3620e6
commit
2f2834026e
|
@ -261,7 +261,7 @@ int main(int argc, char **argv)
|
|||
|
||||
// ** Modulate packet **
|
||||
|
||||
RESULT_CHECK(layer1_tx_add_packet_to_burst(&tx, packetbuf, ret));
|
||||
RESULT_CHECK(layer1_tx_add_packet_to_burst(&tx, packetbuf, ret + crc_size));
|
||||
RESULT_CHECK(layer1_tx_finalize_burst(&tx));
|
||||
|
||||
size_t burst_len = layer1_tx_get_sample_count(&tx);
|
||||
|
|
Loading…
Reference in a new issue