mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
make I2c destructor call to I2c::reset explicit
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
parent
dbe4e4e472
commit
08b666a548
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ I2c::I2c()
|
|||
xConfig(), hwLock(), configDone(false), initDone(false), polling(false),
|
||||
switchInstance(nullptr) {}
|
||||
|
||||
I2c::~I2c() { reset(); }
|
||||
I2c::~I2c() { I2c::reset(); }
|
||||
|
||||
static void SendHandler(I2c *i2c, __attribute__((unused)) int bytesSend) {
|
||||
i2c->transmitIntrs++;
|
||||
|
|
Loading…
Add table
Reference in a new issue