mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-26 19:23:51 +01:00
fix bug
This commit is contained in:
@@ -238,7 +238,7 @@ int main(int argc, char *argv[]) {
|
||||
// This means either this is our first packet, if it is we'll sync to the sender and if it isn't we'll set to 0 from 0
|
||||
vban_frame = data.packet_data.frame_num;
|
||||
} else {
|
||||
uint32_t expected_frame = vban_frame++;
|
||||
uint32_t expected_frame = (vban_frame++) + 1;
|
||||
|
||||
if (data.packet_data.frame_num != expected_frame) {
|
||||
if (data.packet_data.frame_num > expected_frame) {
|
||||
|
||||
Reference in New Issue
Block a user