mirror of
https://github.com/xdsopl/robot36.git
synced 2026-01-09 17:50:21 +01:00
reset mismatch counter on begin of image
This commit is contained in:
parent
8263145a50
commit
7a33c225bd
|
|
@ -72,6 +72,7 @@ static void robot36_decoder(int sync_timeout)
|
|||
if (!free_running && !vpos && !latch) {
|
||||
parity = 0;
|
||||
latch = 1;
|
||||
mismatch_counter = 0;
|
||||
}
|
||||
prev_timeout = sync_timeout;
|
||||
static int even_sync_pos, odd_sync_pos;
|
||||
|
|
|
|||
Loading…
Reference in a new issue