src/dcf.c
changeset 609 c59dce78bbad
parent 587 c175351a6994
child 668 ba53613e94e4
equal deleted inserted replaced
606:15a175f6305d 609:c59dce78bbad
   116   return 0;
   116   return 0;
   117 }
   117 }
   118 
   118 
   119 static void send_consise_dcf_loop(CO_Data* d,UNS8 nodeId)
   119 static void send_consise_dcf_loop(CO_Data* d,UNS8 nodeId)
   120 {
   120 {
   121   /* Loop on all DCF subindexes, corresponding to node ID until there is no request*/
   121   if(nodeId > d->dcf_odentry->bSubCount) return;
       
   122 /* Loop on all DCF subindexes, corresponding to node ID until there is no request*/
   122   //while (nodeId < d->dcf_odentry->bSubCount){
   123   //while (nodeId < d->dcf_odentry->bSubCount){
   123   while (d->dcf_request>0){
   124   while (d->dcf_request>0){
   124   	if(d->dcf_odentry->pSubindex[nodeId].bAccessType & DCF_TO_SEND){   	 
   125   	if(d->dcf_odentry->pSubindex[nodeId].bAccessType & DCF_TO_SEND){   	 
   125         UNS8* dcfend;
   126         UNS8* dcfend;
   126   		UNS32 nb_entries;
   127   		UNS32 nb_entries;