Bug fix newmouse SMTPE811 touch driver

This commit is contained in:
inmarket 2014-10-28 11:11:58 +10:00
parent edc254c080
commit 0129ba3dfe

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