KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
92:ce1ab76e8614
Parent:
91:ca5f829e6d27
Child:
93:6fbc516de05e
--- a/RA8875.cpp	Wed Jan 28 12:30:45 2015 +0000
+++ b/RA8875.cpp	Sun Feb 01 17:07:13 2015 +0000
@@ -434,7 +434,7 @@
 RetCode_t RA8875::WriteCommand(unsigned char command, unsigned int data)
 {
 #ifdef PERF_METRICS
-    if (commandsUsed[command] <= 65535)
+    if (commandsUsed[command] < 65535)
         commandsUsed[command]++;
 #endif
     _select(true);