mirror of
https://github.com/xdsopl/robot36.git
synced 2026-04-21 06:03:41 +00:00
reset mismatch counter on begin of image
This commit is contained in:
parent
8263145a50
commit
7a33c225bd
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue