Ignore errors at start, they are from aold data in buffers/FIFOs.

This commit is contained in:
rjkm 2024-03-26 22:27:43 +01:00
parent d54905cc14
commit e7390e1cd8

View File

@ -83,6 +83,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;
*d=c;
} else {
if (memcmp(ts+8, buf+8, 180))