adding back time handler

was missing in dev branch
This commit is contained in:
tekka
2015-03-26 14:33:44 +01:00
parent 663c0386ea
commit 6da96e7d40
+5
View File
@@ -506,6 +506,11 @@ boolean MySensor::process() {
findParentNode();
sendRoute(build(msg, nc.nodeId, GATEWAY_ADDRESS, NODE_SENSOR_ID, C_INTERNAL, I_CHILDREN,false).set(""));
}
} else if (type == I_TIME) {
if (timeCallback != NULL) {
// Deliver time to callback
timeCallback(msg.getULong());
}
}
return false;
}