diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 7933a9343..e4455347e 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -533,7 +533,7 @@ #define USE_TUYA_MCU // Add support for Tuya Serial MCU #define TUYA_DIMMER_ID 0 // Default dimmer Id #define USE_TUYA_TIME // Add support for Set Time in Tuya MCU -#define USE_TUYAMCUBR // Add support for TuyaMCU Bridge +//#define USE_TUYAMCUBR // Add support for TuyaMCU Bridge #define USE_ARMTRONIX_DIMMERS // Add support for Armtronix Dimmers (+1k4 code) #define USE_PS_16_DZ // Add support for PS-16-DZ Dimmer (+2k code) #define USE_SONOFF_IFAN // Add support for Sonoff iFan02 and iFan03 (+2k code) diff --git a/tasmota/tasmota_support/support_a_i2c.ino b/tasmota/tasmota_support/support_a_i2c.ino index ebe9606c4..25d81427c 100644 --- a/tasmota/tasmota_support/support_a_i2c.ino +++ b/tasmota/tasmota_support/support_a_i2c.ino @@ -13,7 +13,11 @@ const uint8_t I2C_RETRY_COUNTER = 3; +#ifdef ESP8266 +uint32_t i2c_active[1][4] = { 0 }; +#else uint32_t i2c_active[2][4] = { 0 }; +#endif uint32_t i2c_buffer = 0; bool I2cBegin(int sda, int scl, uint32_t frequency = 100000);