equal
deleted
inserted
replaced
278 |
278 |
279 for(i=1;i<8;i++)m.data[i]=0; |
279 for(i=1;i<8;i++)m.data[i]=0; |
280 m.len = 8; |
280 m.len = 8; |
281 m.rtr = NOT_A_REQUEST; |
281 m.rtr = NOT_A_REQUEST; |
282 m.data[0]=command; |
282 m.data[0]=command; |
283 m.cob_id.w=SLSS_ADRESS; |
283 m.cob_id=SLSS_ADRESS; |
284 |
284 |
285 /* Tha data sent with the msg depends on the command */ |
285 /* Tha data sent with the msg depends on the command */ |
286 switch(command){ |
286 switch(command){ |
287 case LSS_INQ_NODE_ID: /* Inquire Node-ID */ |
287 case LSS_INQ_NODE_ID: /* Inquire Node-ID */ |
288 m.data[1]=*(UNS8 *)dat1; |
288 m.data[1]=*(UNS8 *)dat1; |
329 |
329 |
330 for(i=1;i<8;i++)m.data[i]=0; |
330 for(i=1;i<8;i++)m.data[i]=0; |
331 m.len = 8; |
331 m.len = 8; |
332 m.rtr = NOT_A_REQUEST; |
332 m.rtr = NOT_A_REQUEST; |
333 m.data[0]=command; |
333 m.data[0]=command; |
334 m.cob_id.w=MLSS_ADRESS; |
334 m.cob_id=MLSS_ADRESS; |
335 |
335 |
336 /* Tha data sent with the msg depends on the command */ |
336 /* Tha data sent with the msg depends on the command */ |
337 switch(command){ |
337 switch(command){ |
338 case LSS_SM_GLOBAL: /* Switch Mode Global */ |
338 case LSS_SM_GLOBAL: /* Switch Mode Global */ |
339 d->lss_transfer.state=LSS_FINISHED; |
339 d->lss_transfer.state=LSS_FINISHED; |