--- a/examples/TestMasterSlave/TestMasterSlave.c Mon Feb 04 12:06:20 2008 +0100
+++ b/examples/TestMasterSlave/TestMasterSlave.c Mon Feb 04 16:40:44 2008 +0100
@@ -94,13 +94,7 @@
{
/****************************** INITIALISATION SLAVE *******************************/
if(strcmp(SlaveBoard.baudrate, "none")) {
-
-#ifdef CO_ENABLE_LSS
- /* Set an invalid nodeID */
- setNodeId(&TestSlave_Data, 0xFF);
-#else
setNodeId(&TestSlave_Data, 0x02);
-#endif
/* init */
setState(&TestSlave_Data, Initialisation);
@@ -202,11 +196,6 @@
TestSlave_Data.post_TPDO = TestSlave_post_TPDO;
TestSlave_Data.storeODSubIndex = TestSlave_storeODSubIndex;
TestSlave_Data.post_emcy = TestSlave_post_emcy;
-#ifdef CO_ENABLE_LSS
- /* in this example the slave doesn't support Store configuration*/
- //TestSlave_Data.lss_StoreConfiguration = TestSlave_StoreConfiguration;
- TestSlave_Data.lss_ChangeBaudRate=TestSlave_ChangeBaudRate;
-#endif
if(!canOpen(&SlaveBoard,&TestSlave_Data)){
eprintf("Cannot open Slave Board (%s,%s)\n",SlaveBoard.busname, SlaveBoard.baudrate);