equal
deleted
inserted
replaced
107 /* condition on consise DCF string for NodeID, if big enough */ |
107 /* condition on consise DCF string for NodeID, if big enough */ |
108 if((UNS8*)d->dcf_cursor + 7 < (UNS8*)dcfend && d->dcf_count_targets < nb_targets) |
108 if((UNS8*)d->dcf_cursor + 7 < (UNS8*)dcfend && d->dcf_count_targets < nb_targets) |
109 { |
109 { |
110 /* pointer to the DCF string for NodeID */ |
110 /* pointer to the DCF string for NodeID */ |
111 target_Index = UNS16_LE(*((UNS16*)(d->dcf_cursor))); d->dcf_cursor += 2; |
111 target_Index = UNS16_LE(*((UNS16*)(d->dcf_cursor))); d->dcf_cursor += 2; |
112 target_Subindex = *((UNS8*)(((UNS8*)d->dcf_cursor)++)); |
112 target_Subindex = *((UNS8*)((UNS8*)d->dcf_cursor++)); |
113 target_Size = UNS32_LE(*((UNS32*)(d->dcf_cursor))); d->dcf_cursor += 4; |
113 target_Size = UNS32_LE(*((UNS32*)(d->dcf_cursor))); d->dcf_cursor += 4; |
114 |
114 |
115 /* printf("Master : ConfigureSlaveNode %2.2x (Concise |
115 /* printf("Master : ConfigureSlaveNode %2.2x (Concise |
116 DCF)\n",nodeId);*/ |
116 DCF)\n",nodeId);*/ |
117 res = _writeNetworkDict(d, /* CO_Data* d*/ |
117 res = _writeNetworkDict(d, /* CO_Data* d*/ |