OSCtoCV Library

Dependents:   OSCtoCVConverter

Revision:
4:fe335dc8d53d
Parent:
1:981b62bb5c87
Child:
6:7fb15b1b5459
--- a/OSCtoCV.cpp	Sun Jan 31 12:55:17 2016 +0000
+++ b/OSCtoCV.cpp	Tue Feb 16 11:31:12 2016 +0000
@@ -336,9 +336,9 @@
 {
     static int lastSWState = -1;
     
-    if (gArdSW[0] != lastSWState)
+    if (gArdSW[1] != lastSWState)
     {
-        lastSWState = gArdSW[0];
+        lastSWState = gArdSW[1];
         
         if (gSubModeCount2 < SUBMODE2_TOTAL - 1) 
         {