src/states.c
changeset 94 bdf4c86be6b2
parent 88 b6e0b91d073a
child 149 fe50ada8020b
--- a/src/states.c	Tue Feb 13 18:06:18 2007 +0100
+++ b/src/states.c	Tue Feb 13 18:38:31 2007 +0100
@@ -25,12 +25,6 @@
 
 #include "nmtSlave.h"
 
-#ifdef LED_ENABLE
-#include "led.h"
-#else
-#define led_set_state(a,b)
-#endif
-
 /* Prototypes for internals functions */
 void switchCommunicationState(CO_Data* d, 
 	s_state_communication *newCommunicationState);
@@ -76,13 +70,6 @@
 			{
 				proceedNMTstateChange(d,m);
 			}
-#ifdef CANOPEN_LSS_ENABLE
-		default:
-			if (m->cob_id.w == 0x7E4 || m->cob_id.w == 0x705)
-			{
-				proceedLSS(d,m);
-			}
-#endif
 	}
 }
 
@@ -161,8 +148,7 @@
 			default:
 				return 0xFF;
 		}/* end switch case */
-
-		led_set_state(d, newState);		
+	
 	}
 	return 0;
 }