Skip to content

Commit 8b64636

Browse files
committed
Fix merge error
1 parent 75ea4bc commit 8b64636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/MySensors/MySensor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ boolean MySensor::process() {
413413
// Wait a random delay of 0-2 seconds to minimize collision
414414
// between ping ack messages from other relaying nodes
415415
delay(millis() & 0x3ff);
416-
sendWrite(BROADCAST_ADDRESS, build(msg, nc.nodeId, sender, NODE_SENSOR_ID, C_INTERNAL, I_FIND_PARENT_RESPONSE, false).set(nc.distance));
416+
sendWrite(sender, build(msg, nc.nodeId, sender, NODE_SENSOR_ID, C_INTERNAL, I_FIND_PARENT_RESPONSE, false).set(nc.distance));
417417
}
418418
} else if (to == nc.nodeId) {
419419
// We should try to relay this message to another node

0 commit comments

Comments
 (0)