From 83cfff7082fcf0c954303babbed11ba33b851d2a Mon Sep 17 00:00:00 2001 From: Manfred Date: Tue, 21 Jan 2020 19:09:16 +0100 Subject: [PATCH] tscheck stupid error on previous commit --- apps/tscheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tscheck.c b/apps/tscheck.c index 8e2d936..2a02648 100644 --- a/apps/tscheck.c +++ b/apps/tscheck.c @@ -37,7 +37,7 @@ void proc_ts(int i, uint8_t *buf) if( cc[pid] != 0 ) { // TODO: 1 repetition allowed - if( ( cc[pid] & 0x10 ) != 0 && (((cc[pid] + 1) & 0x0F) != (ccin & 0x0F)) ) + if( ( ccin & 0x10 ) != 0 && (((cc[pid] + 1) & 0x0F) != (ccin & 0x0F)) ) cc_errors += 1; } cc[pid] = ccin;