Fix esp32 wire library induced compile error

Fix esp32 wire library induced compile error (#14754)
This commit is contained in:
Theo Arends 2022-02-07 11:40:35 +01:00
parent 152a5d364a
commit 005a556d41
2 changed files with 2 additions and 2 deletions

View File

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

View File

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