KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
176:4ab96d33a8ec
Parent:
171:f92c0f1f6db4
Child:
177:8620cdfcdbf2
--- a/RA8875_Touch.cpp	Fri Mar 15 01:39:39 2019 +0000
+++ b/RA8875_Touch.cpp	Sun Mar 24 14:49:49 2019 +0000
@@ -134,11 +134,11 @@
 int RA8875::TouchChannels(void)
 {
     if (useTouchPanel == TP_GSL1680) {
-        return GSL1680_TOUCH_POINTS;  // based on TP_GSL1680 firmware
+        return GSL1680_TOUCH_POINTS;    // based on TP_GSL1680 firmware
     } else if (useTouchPanel == TP_FT5206) {
-        return 5;   // based on the FT5206 hardware
+        return FT5206_TOUCH_POINTS;     // based on the FT5206 hardware
     } else if (useTouchPanel == TP_RES) {
-        return 1;   // based on the RA8875 resistive touch driver
+        return RESISTIVE_TOUCH_POINTS;  // based on the RA8875 resistive touch driver
     } else {
         return 0;   // it isn't enabled, so there are none.
     }