Remove empty packet from queue after burst was transmitted
Some checks failed
/ build-hamnet70 (push) Failing after 28s
/ build-doc (push) Successful in 15s
/ deploy-doc (push) Has been skipped

This commit is contained in:
Thomas Kolb 2024-09-22 18:46:32 +02:00
parent 8c3eca658c
commit 04397c2c95

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) {