src/lss.c
changeset 370 6fecf36df407
parent 365 9b76e0881beb
child 381 854c43cdc24a
--- 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){