From 11b8c21cb5b00dad0aa7ebc58bc5a78ecab9dde8 Mon Sep 17 00:00:00 2001 From: rjkm Date: Thu, 19 Sep 2024 10:29:48 +0200 Subject: [PATCH] revert ignoring of bad packets at startup --- apps/cit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/cit.c b/apps/cit.c index 41d2434..34ed6f2 100644 --- a/apps/cit.c +++ b/apps/cit.c @@ -84,8 +84,8 @@ void proc_buf(uint8_t *buf, uint32_t *d) c=(buf[4]<<24)|(buf[5]<<16)|(buf[6]<<8)|buf[7]; if (c!=*d) { printf("CONT ERROR: got %08x expected %08x\n", c, *d); - if (!*d && (c+100) > 100) - return; + //if (!*d && (c+100) > 100) + // return; *d=c; } else { if (memcmp(ts+8, buf+8, 180))