diff -r 8b67289d50b5 -r 6fecf36df407 src/lss.c --- a/src/lss.c Fri Jan 25 12:00:38 2008 +0100 +++ b/src/lss.c Fri Jan 25 19:01:58 2008 +0100 @@ -41,6 +41,7 @@ #include "data.h" #include "lss.h" #include "canfestival.h" +#include "sysdep.h" //#define LSS_TIMEOUT_MS (TIMEVAL)1000 /* ms */ //#define LSS_FS_TIMEOUT_MS (TIMEVAL)100 /* ms */ @@ -280,7 +281,7 @@ m.len = 8; m.rtr = NOT_A_REQUEST; m.data[0]=command; - m.cob_id=SLSS_ADRESS; + m.cob_id=UNS16_LE(SLSS_ADRESS); /* Tha data sent with the msg depends on the command */ switch(command){ @@ -331,7 +332,7 @@ m.len = 8; m.rtr = NOT_A_REQUEST; m.data[0]=command; - m.cob_id=MLSS_ADRESS; + m.cob_id=UNS16_LE(MLSS_ADRESS); /* Tha data sent with the msg depends on the command */ switch(command){