Bug fix newmouse SMTPE811 touch driver

ugfx_release_2.6
inmarket 2014-10-28 11:11:58 +10:00
parent edc254c080
commit 0129ba3dfe
1 changed files with 1 additions and 1 deletions

View File

@ -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