Merge branch 'master' of github.com:john30/ebusd
This commit is contained in:
@@ -659,7 +659,7 @@ result_t Message::storeLastData(SymbolString& master, SymbolString& slave) {
|
|||||||
|
|
||||||
result_t Message::storeLastData(const PartType partType, SymbolString& data, unsigned char index) {
|
result_t Message::storeLastData(const PartType partType, SymbolString& data, unsigned char index) {
|
||||||
if (data.size() > 0
|
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);
|
time(&m_lastUpdateTime);
|
||||||
}
|
}
|
||||||
if (partType == pt_masterData) {
|
if (partType == pt_masterData) {
|
||||||
|
|||||||
Reference in New Issue
Block a user