From 789c990c19131cd9cdff96a3d617c94c80526622 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:41:18 +0100 Subject: [PATCH] Fix ESP8266 I2C --- tasmota/tasmota.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 297144954..16191bb1f 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -312,7 +312,7 @@ struct TasmotaGlobal_t { bool stop_flash_rotate; // Allow flash configuration rotation bool blinkstate; // LED state bool pwm_present; // Any PWM channel configured with SetOption15 0 - bool i2c_enabled[MAX_I2S]; // I2C configured for all possible buses (1 or 2) + bool i2c_enabled[2]; // I2C configured for all possible buses (1 or 2) #ifdef ESP32 bool ota_factory; // Select safeboot binary #endif