diff --git a/tasmota/xdsp_04_ili9341.ino b/tasmota/xdsp_04_ili9341.ino index e4142b6c0..ae10047a2 100755 --- a/tasmota/xdsp_04_ili9341.ino +++ b/tasmota/xdsp_04_ili9341.ino @@ -124,7 +124,7 @@ void ILI9341_InitDriver() #define SDA_2 21 #undef SCL_2 #define SCL_2 22 - Wire1.begin(SDA_2, SCL_2, 400000); + Wire1.begin(SDA_2, SCL_2, (uint32_t)400000); FT5206_Touch_Init(Wire1); #endif // USE_FT5206 #endif // ESP32 diff --git a/tasmota/xdsp_12_ST7789.ino b/tasmota/xdsp_12_ST7789.ino index fb55f6d91..37e3280e3 100644 --- a/tasmota/xdsp_12_ST7789.ino +++ b/tasmota/xdsp_12_ST7789.ino @@ -118,7 +118,7 @@ void ST7789_InitDriver(void) { #define SDA_2 4 #define SCL_2 0 #endif // USE_LANBON_L8 - Wire1.begin(SDA_2, SCL_2, 400000); + Wire1.begin(SDA_2, SCL_2, (uint32_t)400000); FT5206_Touch_Init(Wire1); #endif // USE_FT5206 #endif // ESP32