1
0
Fork 0
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:
Niklas Eiling 2024-01-08 10:48:03 +01:00 committed by Niklas Eiling
parent dbe4e4e472
commit 08b666a548

View file

@ -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++;