We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 533c26b commit 2f1df52Copy full SHA for 2f1df52
libraries/MySensors/MySensor.cpp
@@ -397,6 +397,10 @@ boolean MySensor::sendRoute(MyMessage &message) {
397
#endif
398
399
if (dest == GATEWAY_ADDRESS || !repeaterMode) {
400
+ // Store this address in routing table (if repeater)
401
+ if (repeaterMode) {
402
+ hw_writeConfig(EEPROM_ROUTES_ADDRESS+sender, last);
403
+ }
404
// If destination is the gateway or if we aren't a repeater, let
405
// our parent take care of the message
406
ok = sendWrite(nc.parentNodeId, message);
0 commit comments