diff options
Diffstat (limited to 'drivers/ginput')
-rw-r--r-- | drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c index 6951f3ab..6c07ef12 100644 --- a/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c +++ b/drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c @@ -96,7 +96,7 @@ static void read_xyz(GMouse* m, GMouseReading* pdr) #endif // 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 #if !GMOUSE_STMPE811_SLOW_CPU |