forked from len0rd/rockbox
Fix logic error in D2+ touchscreen driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23217 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e4af86a834
commit
b91ae3c3cd
1 changed files with 3 additions and 3 deletions
|
|
@ -148,13 +148,13 @@ static int touchscreen_read_tsc200x(int *data, int *old_data)
|
|||
btn = touchscreen_to_pixels((*data & 0xffff0000) >> 16,
|
||||
(*data & 0x0000ffff),
|
||||
data);
|
||||
|
||||
last_btn = btn;
|
||||
}
|
||||
}
|
||||
|
||||
last_read = current_tick;
|
||||
|
||||
|
||||
last_btn = btn;
|
||||
|
||||
return btn;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue