Dependencies:   mbed

Revision:
1:237cfff63ef8
Parent:
0:e939856c1939
--- a/ADK.cpp	Wed May 25 14:49:20 2011 +0000
+++ b/ADK.cpp	Thu May 26 19:39:37 2011 +0000
@@ -44,7 +44,7 @@
                     led1=((float)buf[2])/255.0;
                 } else if (buf[1]==0x3) {
                     led2=((float)buf[2])/255.0;
-                } else if (buf[1]=0x6) {
+                } else if (buf[1]==0x6) {
                     led3=((float)buf[2])/255.0;
                 }
             } else if (buf[0] ==0x3) {