1

Dependencies:   mcp2515 mbed-dev-f303

Revision:
3:940a9e40d327
Parent:
2:cd74a8cb03b0
Child:
4:2503c88a564f
diff -r cd74a8cb03b0 -r 940a9e40d327 CAN/CAN.cpp
--- a/CAN/CAN.cpp	Thu Nov 19 07:59:28 2020 +0000
+++ b/CAN/CAN.cpp	Wed Jun 30 12:15:37 2021 +0000
@@ -95,12 +95,12 @@
     float t = uint_to_float(i_int, -T_MAX, T_MAX, 12);
    
     
-    if(id==0x01){
+    if(id==0x03){
         ankle->pf.p = p;
         ankle->pf.v = v;
         ankle->pf.t = t;
         }
-    else if(id==0x01){
+    else if(id==0x03){
         ankle->df.p = p;
         ankle->df.v = v;
         ankle->df.t = t;