Slave hdb paths which are chained to a master path were being updated twice.

The slaves were being updated with the master's reading as well as their reading.
This commit is contained in:
Ferdi Franceschini
2013-05-17 10:50:53 +10:00
parent f0c008c714
commit df5eec7d0e

View File

@ -3226,7 +3226,7 @@ static hdbCallbackReturn ChainCallback(pHdb node, void *userData,
if (slave != NULL) {
memset(&vv, 0, sizeof(hdbValue));
GetHipadabaPar(slave, &vv, mm->callData);
UpdateHipadabaPar(slave, *(mm->v), mm->callData);
/* UpdateHipadabaPar(slave, *(mm->v), mm->callData); */
ReleaseHdbValue(&vv);
}
return hdbContinue;