improved bus wait with raii class that updates last access
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <DebugLog.h>
|
||||
#include <RS485_Driver.h>
|
||||
#include <utils.h>
|
||||
|
||||
class remoteIO
|
||||
{
|
||||
@@ -44,9 +45,6 @@ public:
|
||||
|
||||
void resetAll(const bool value);
|
||||
|
||||
private:
|
||||
void delayRequest();
|
||||
|
||||
private:
|
||||
bool m_initialized;
|
||||
drivers::MODBUS &m_bus;
|
||||
|
||||
Reference in New Issue
Block a user