Forked para SNOCC

Dependencies:   GPS

Dependents:   SNOCC_V1 SNOCC_V2

Fork of RA8875 by SNOCC

Revision:
92:ce1ab76e8614
Parent:
91:ca5f829e6d27
Child:
93:6fbc516de05e
diff -r ca5f829e6d27 -r ce1ab76e8614 RA8875.cpp
--- 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);