mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-31 08:49:17 +02:00
debug
This commit is contained in:
@@ -332,6 +332,7 @@ int main(int argc, char *argv[]) {
|
|||||||
} else {
|
} else {
|
||||||
int32_t diff = (int32_t)(data.packet_data.frame_num - (vban_frame++));
|
int32_t diff = (int32_t)(data.packet_data.frame_num - (vban_frame++));
|
||||||
if(diff != 0) {
|
if(diff != 0) {
|
||||||
|
debug_printf("Frame number diff: %d\n", diff);
|
||||||
if(diff == 0) {
|
if(diff == 0) {
|
||||||
if (quiet == 0) printf("Duplicate packet received\n");
|
if (quiet == 0) printf("Duplicate packet received\n");
|
||||||
} else if (diff > 1) {
|
} else if (diff > 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user