Bug fix newmouse SMTPE811 touch driver
This commit is contained in:
parent
edc254c080
commit
0129ba3dfe
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ static void read_xyz(GMouse* m, GMouseReading* pdr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If not touched don't do any more
|
// If not touched don't do any more
|
||||||
if ((m->flags &= ~GMOUSE_STMPE811_FLG_TOUCHED)) {
|
if ((m->flags & GMOUSE_STMPE811_FLG_TOUCHED)) {
|
||||||
|
|
||||||
// Clear the fifo if it is too full
|
// Clear the fifo if it is too full
|
||||||
#if !GMOUSE_STMPE811_SLOW_CPU
|
#if !GMOUSE_STMPE811_SLOW_CPU
|
||||||
|
|
Loading…
Add table
Reference in a new issue