Remove empty packet from queue after burst was transmitted

This commit is contained in:
Thomas Kolb 2024-09-22 18:46:32 +02:00
parent 02a2afbc5b
commit 227837623c

View file

@ -288,6 +288,8 @@ int main(int argc, char **argv)
RESULT_CHECK(transmit(packet_buf, packet_size)); RESULT_CHECK(transmit(packet_buf, packet_size));
} }
connection_tx_clean_empty_packet(&l2conn);
LOG(LVL_DEBUG, "Burst finished: %zd packets sent.", burst_len); LOG(LVL_DEBUG, "Burst finished: %zd packets sent.", burst_len);
if(!on_air) { if(!on_air) {