mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
idk
This commit is contained in:
@@ -243,6 +243,7 @@ int main(int argc, char *argv[]) {
|
|||||||
if (data.packet_data.frame_num > vban_frame) {
|
if (data.packet_data.frame_num > vban_frame) {
|
||||||
uint32_t dropped_packets = data.packet_data.frame_num - vban_frame;
|
uint32_t dropped_packets = data.packet_data.frame_num - vban_frame;
|
||||||
if (quiet == 0) printf("Dropped %u packets\n", dropped_packets);
|
if (quiet == 0) printf("Dropped %u packets\n", dropped_packets);
|
||||||
|
vban_frame -= dropped_packets;
|
||||||
} else {
|
} else {
|
||||||
if (quiet == 0) printf("Packets received out of order (got:%u, expected:%u)\n", data.packet_data.frame_num, vban_frame);
|
if (quiet == 0) printf("Packets received out of order (got:%u, expected:%u)\n", data.packet_data.frame_num, vban_frame);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user