introduce error counter to avoid spam
This commit is contained in:
@ -27,6 +27,8 @@ class I2cCookie : public CookieIF {
|
||||
size_t getMaxReplyLen() const;
|
||||
std::string getDeviceFile() const;
|
||||
|
||||
uint8_t errorCounter = 0;
|
||||
|
||||
private:
|
||||
address_t i2cAddress = 0;
|
||||
size_t maxReplyLen = 0;
|
||||
|
Reference in New Issue
Block a user