src/nmtSlave.c
changeset 343 118c1cabd0b0
parent 215 f49e5a6b7804
child 365 9b76e0881beb
equal deleted inserted replaced
342:66f007300c10 343:118c1cabd0b0
    96 **/
    96 **/
    97 UNS8 slaveSendBootUp(CO_Data* d)
    97 UNS8 slaveSendBootUp(CO_Data* d)
    98 {
    98 {
    99   Message m;
    99   Message m;
   100 
   100 
       
   101 #ifdef CO_ENABLE_LSS
       
   102   if(*d->bDeviceNodeId==0xFF)return 0;
       
   103 #endif
       
   104 
   101   MSG_WAR(0x3407, "Send a Boot-Up msg ", 0);
   105   MSG_WAR(0x3407, "Send a Boot-Up msg ", 0);
   102 
   106 
   103   /* message configuration */
   107   /* message configuration */
   104   m.cob_id.w = NODE_GUARD << 7 | *d->bDeviceNodeId;
   108   m.cob_id.w = NODE_GUARD << 7 | *d->bDeviceNodeId;
   105   m.rtr = NOT_A_REQUEST;
   109   m.rtr = NOT_A_REQUEST;