We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 603446d commit 6ff144cCopy full SHA for 6ff144c
src/touch/GT911.cpp
@@ -43,7 +43,7 @@ bool ESP_PanelTouch_GT911::begin(void)
43
44
ESP_PanelBus_I2C *i2c_bus = static_cast<ESP_PanelBus_I2C *>(bus);
45
esp_lcd_touch_io_gt911_config_t tp_gt911_config = {
46
- .dev_addr = i2c_bus->getI2cAddress(),
+ .dev_addr = static_cast<uint8_t>(i2c_bus->getI2cAddress()),
47
};
48
if (config.driver_data == NULL) {
49
ESP_LOGD(TAG, "Use default GT911 driver data(address: 0x%02x)", tp_gt911_config.dev_addr);
0 commit comments