mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 08:46:32 +00:00
Fix esp32 wire library induced compile error
Fix esp32 wire library induced compile error (#14754)
This commit is contained in:
parent
152a5d364a
commit
005a556d41
@ -124,7 +124,7 @@ void ILI9341_InitDriver()
|
|||||||
#define SDA_2 21
|
#define SDA_2 21
|
||||||
#undef SCL_2
|
#undef SCL_2
|
||||||
#define SCL_2 22
|
#define SCL_2 22
|
||||||
Wire1.begin(SDA_2, SCL_2, 400000);
|
Wire1.begin(SDA_2, SCL_2, (uint32_t)400000);
|
||||||
FT5206_Touch_Init(Wire1);
|
FT5206_Touch_Init(Wire1);
|
||||||
#endif // USE_FT5206
|
#endif // USE_FT5206
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
|
@ -118,7 +118,7 @@ void ST7789_InitDriver(void) {
|
|||||||
#define SDA_2 4
|
#define SDA_2 4
|
||||||
#define SCL_2 0
|
#define SCL_2 0
|
||||||
#endif // USE_LANBON_L8
|
#endif // USE_LANBON_L8
|
||||||
Wire1.begin(SDA_2, SCL_2, 400000);
|
Wire1.begin(SDA_2, SCL_2, (uint32_t)400000);
|
||||||
FT5206_Touch_Init(Wire1);
|
FT5206_Touch_Init(Wire1);
|
||||||
#endif // USE_FT5206
|
#endif // USE_FT5206
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user