Fixed some build errors and warnigs, thanks to Martin Hollenweger (geautomotive.eu)
authoretisserant
Tue, 15 Jan 2008 10:11:17 +0100
changeset 357 838e5397ae67
parent 356 171830d836ce
child 358 4630ccf4932a
Fixed some build errors and warnigs, thanks to Martin Hollenweger (geautomotive.eu)
include/states.h
src/lifegrd.c
--- a/include/states.h	Tue Jan 15 09:30:26 2008 +0100
+++ b/include/states.h	Tue Jan 15 10:11:17 2008 +0100
@@ -40,9 +40,9 @@
   Stopped         = 0x04,
   Operational     = 0x05,
   Pre_operational = 0x7F,
-  Unknown_state   = 0x0F,
+  Unknown_state   = 0x0F
 #ifdef CO_ENABLE_LSS
-  LssTimingDelay  = 0x10
+  ,LssTimingDelay  = 0x10
 #endif
 };
 
--- a/src/lifegrd.c	Tue Jan 15 09:30:26 2008 +0100
+++ b/src/lifegrd.c	Tue Jan 15 10:11:17 2008 +0100
@@ -35,6 +35,7 @@
 #include <data.h>
 #include "lifegrd.h"
 #include "canfestival.h"
+#include "dcf.h"
 
 
 void ConsumerHearbeatAlarm(CO_Data* d, UNS32 id);