From 0129ba3dfe6b24e925741f0a018c4ef09cdc6c9d Mon Sep 17 00:00:00 2001 From: inmarket Date: Tue, 28 Oct 2014 11:11:58 +1000 Subject: [PATCH] Bug fix newmouse SMTPE811 touch driver --- drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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