KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
130:d633e80840e0
Parent:
129:3f2d8b84144d
Child:
145:5eb2492acdda
--- a/RA8875_Touch.cpp	Sat Aug 06 22:21:41 2016 +0000
+++ b/RA8875_Touch.cpp	Sat Aug 06 22:44:49 2016 +0000
@@ -266,13 +266,15 @@
         }
         touchInfo[0].touchCode = ts;
     } else /* (useTouchPanel == TP_CAP) */ {
-        ts = touchInfo[0].touchCode;
+        ;
     }
     if (panelTouched == true) {
         panelTouched = false;
         if (TouchPoint) {
             *TouchPoint = touchInfo[0].coordinates;
             ts = touchInfo[0].touchCode;
+        } else {
+            ts = touch;
         }
     }
     return ts;