added getLastMasterData(), fix for storing last master data in prepareMaster()

This commit is contained in:
john30
2015-10-17 12:51:10 +02:00
parent d97538b03a
commit 92a446e3bb
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -265,6 +265,12 @@ public:
*/
result_t decodeLastDataField(unsigned int& output, const char* fieldName, signed char fieldIndex=-1);
/**
* Get the last seen master data.
* @return the last seen master @a SymbolString.
*/
SymbolString& getLastMasterData() { return m_lastMasterData; }
/**
* Get the last seen slave data.
* @return the last seen slave @a SymbolString.