Fix a flaw in LSS patch.
--- a/examples/TestMasterSlave/Master.c Mon Dec 17 13:22:35 2007 +0100
+++ b/examples/TestMasterSlave/Master.c Mon Dec 17 15:55:40 2007 +0100
@@ -317,6 +317,8 @@
/* Ask slave node to go in stop mode */
masterSendNMTstateChange (&TestMaster_Data, 0, NMT_Stop_Node);
ConfigureLSSNode(&TestMaster_Data);
+#else
+ ConfigureSlaveNode(&TestMaster_Data, 0x02);
#endif
}
@@ -459,6 +461,8 @@
void TestMaster_post_SlaveBootup(UNS8 nodeid)
{
eprintf("TestMaster_post_SlaveBootup %x\n", nodeid);
+#ifdef CO_ENABLE_LSS
ConfigureSlaveNode(&TestMaster_Data, nodeid);
-}
-
+#endif
+}
+