Merge with daa1e1c3fba43ee73a2e827961155b1372ca433e
authoredouard
Tue, 27 Oct 2009 14:35:57 +0100
changeset 610 485e9b8a3e76
parent 609 c59dce78bbad (diff)
parent 608 daa1e1c3fba4 (current diff)
child 611 3e0c776da33b
Merge with daa1e1c3fba43ee73a2e827961155b1372ca433e
--- a/src/dcf.c	Wed Oct 14 10:13:00 2009 +0200
+++ b/src/dcf.c	Tue Oct 27 14:35:57 2009 +0100
@@ -118,7 +118,8 @@
 
 static void send_consise_dcf_loop(CO_Data* d,UNS8 nodeId)
 {
-  /* Loop on all DCF subindexes, corresponding to node ID until there is no request*/
+  if(nodeId > d->dcf_odentry->bSubCount) return;
+/* Loop on all DCF subindexes, corresponding to node ID until there is no request*/
   //while (nodeId < d->dcf_odentry->bSubCount){
   while (d->dcf_request>0){
   	if(d->dcf_odentry->pSubindex[nodeId].bAccessType & DCF_TO_SEND){