Fix size of transmitted packets

This commit is contained in:
Thomas Kolb 2024-06-01 16:47:10 +02:00
parent de0f3620e6
commit 2f2834026e

View file

@ -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);