]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Remove unnecessary stuffs in cand.
authorTran Duy Khanh <trandk1@fel.cvut.cz>
Mon, 7 Apr 2008 13:53:10 +0000 (15:53 +0200)
committerTran Duy Khanh <trandk1@fel.cvut.cz>
Mon, 7 Apr 2008 13:53:10 +0000 (15:53 +0200)
src/cand/cand.cc

index ddc7550a0711f3a1da09b4bbb5891cb76c0bb668..0420865df595ed7c8d2e876381f417430412b270 100644 (file)
 
 #include "cand.h"
 
-/*short int convertShortInt(short int x)
-{
-       unsigned char lsb;
-       unsigned char msb;
-
-       lsb = x>>8;
-       msb = x & (0xff);
-
-       return (msb<<8)|lsb;
-}*/
-
 int cand_init()
 {
        if ((sock = socket(PF_CAN, SOCK_RAW, CAN_RAW)) < 0) {
@@ -66,7 +55,6 @@ int cand_init()
                return -4;
        }
 
-       printf("cand_init(): OK %d\n", sock);
        return 0;
 }