X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETMCPCAN.py;h=f003e01dbdb406d79a39fa28651b4fba8cf7cf4d;hp=3ac06a9aa7dcf64d5bc87181cb7517328b180d51;hb=fe11b8c34f1ab1916fb1744acfea07f2b454cf37;hpb=5c39fc3ff6bfc4c934f98cc5f14481cd429192bb diff --git a/client/GoodFETMCPCAN.py b/client/GoodFETMCPCAN.py index 3ac06a9..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 @@ -332,7 +331,7 @@ class GoodFETMCPCAN(GoodFETSPI): msg = "sID: %04d"%sID msg += eIDmsg + rtrmsg - msg += "length: %d"%(length) + msg += " length: %d"%(length) msg += dbmsg return msg