KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
108:7415c405ee08
Parent:
103:7e0464ca6c5c
Child:
123:2f45e80fec5f
--- a/RA8875_Touch.cpp	Sat Mar 05 16:20:11 2016 +0000
+++ b/RA8875_Touch.cpp	Mon Mar 14 02:20:40 2016 +0000
@@ -227,7 +227,7 @@
     int i, j;
     int temp;
     
-    for(i = 1; i <= bufsize; i++) {
+    for(i = 1; i < bufsize; i++) {
         temp = buf[i];
         j = i;
         while( j && (buf[j-1] > temp) ) {