X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETMCPCAN.py;h=f003e01dbdb406d79a39fa28651b4fba8cf7cf4d;hp=189ef56c35409e6ccd7d2a1d2720222842037382;hb=cd34fb40f79423b3aef65291d6b970a06b13d2f4;hpb=49f6a874fb0672b60ea3c47b57438f68ba3847c4 diff --git a/client/GoodFETMCPCAN.py b/client/GoodFETMCPCAN.py index 189ef56..f003e01 100644 --- a/client/GoodFETMCPCAN.py +++ b/client/GoodFETMCPCAN.py @@ -297,11 +297,10 @@ class GoodFETMCPCAN(GoodFETSPI): dp2 = ord(data[1]) dp5 = ord(data[4]) - #converts the CAN message to a string msg=""; - + #get the ide bit. allows us to check to see if we have an extended #frame ide = (dp2 & 0x0f)>>3