Fixed some build errors and warnigs, thanks to Martin Hollenweger (geautomotive.eu)
--- 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);