src/dcf.c
changeset 353 ee08ce0366a7
parent 349 1e6dd4ef46b9
child 361 2220813498f2
equal deleted inserted replaced
352:3347581c3140 353:ee08ce0366a7
   160       		d->dcf_odentry->pSubindex[nodeId].bAccessType&=~DCF_TO_SEND;
   160       		d->dcf_odentry->pSubindex[nodeId].bAccessType&=~DCF_TO_SEND;
   161       		d->dcf_request--;
   161       		d->dcf_request--;
   162       		(*d->post_SlaveBootup)(nodeId);
   162       		(*d->post_SlaveBootup)(nodeId);
   163       	}
   163       	}
   164  	}
   164  	}
   165  	else
   165  	
   166    	{
   166    	/* Check the next element*/
   167    		/* Check the next element*/
   167    	//nodeId++;
   168    		//nodeId++;
   168    	nodeId=(nodeId+1) % d->dcf_odentry->bSubCount;
   169    		nodeId=(nodeId+1) % d->dcf_odentry->bSubCount;
   169    	if(nodeId==d->dcf_odentry->bSubCount)nodeId=1;
   170    		if(nodeId==d->dcf_odentry->bSubCount)nodeId=1;
   170    	d->dcf_cursor = NULL;
   171    		d->dcf_cursor = NULL;
   171 
   172    	}
       
   173   }
   172   }
   174   
   173   
   175   //DCF_finish:
   174   //DCF_finish:
   176   /*  Switch Master to preOperational state */
   175   /*  Switch Master to preOperational state */
   177  
   176