diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-10-28 11:11:58 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-10-28 11:11:58 +1000 |
commit | 0129ba3dfe6b24e925741f0a018c4ef09cdc6c9d (patch) | |
tree | 4b0710a4ce8daeff807f32d1fdf8a700b5cdd63a /drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c | |
parent | edc254c080b514ea8ea85f432f666b9116f4037c (diff) | |
download | uGFX-0129ba3dfe6b24e925741f0a018c4ef09cdc6c9d.tar.gz uGFX-0129ba3dfe6b24e925741f0a018c4ef09cdc6c9d.tar.bz2 uGFX-0129ba3dfe6b24e925741f0a018c4ef09cdc6c9d.zip |
Bug fix newmouse SMTPE811 touch driver
Diffstat (limited to 'drivers/ginput/touch/STMPE811/gmouse_lld_STMPE811.c')
-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 |