reverted removal of touching last update time with MM messages

This commit is contained in:
john30
2017-01-29 16:37:01 +01:00
parent ef65a8cf75
commit 22cd83280e
+1 -1
View File
@@ -659,7 +659,7 @@ result_t Message::storeLastData(SymbolString& master, SymbolString& slave) {
result_t Message::storeLastData(const PartType partType, SymbolString& data, unsigned char index) {
if (data.size() > 0
&& (m_isWrite || this->m_dstAddress == BROADCAST || partType == pt_slaveData)) {
&& (m_isWrite || this->m_dstAddress == BROADCAST || partType == pt_slaveData || (partType == pt_masterData && isMaster(this->m_dstAddress)))) {
time(&m_lastUpdateTime);
}
if (partType == pt_masterData) {