From 57c7033987bff5a50661c4a9763fe4607a0ac703 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Wed, 16 Jul 2025 23:09:27 +0200 Subject: [PATCH] Fix TwoWire signature change (#23695) --- tasmota/tasmota_xdrv_driver/xdrv_76_serial_i2c.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_76_serial_i2c.ino b/tasmota/tasmota_xdrv_driver/xdrv_76_serial_i2c.ino index 93fcfc6a2..8c0172ad8 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_76_serial_i2c.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_76_serial_i2c.ino @@ -116,8 +116,8 @@ public: } // unused function, but override to NOP just in case - void onReceive(void (*)(int)) override {}; - void onRequest(void (*)(void)) override {}; + void onReceive(const std::function &) override {}; + void onRequest(const std::function &) override {}; void beginTransmission(uint8_t address) override { non_stop = false;