| 5 | #include <esp_lvgl_port.h> |
| 6 | |
| 7 | bool Ft5x06Touch::createIoHandle(esp_lcd_panel_io_handle_t& outHandle) { |
| 8 | esp_lcd_panel_io_i2c_config_t io_config = ESP_LCD_TOUCH_IO_I2C_FT5x06_CONFIG(); |
| 9 | return esp_lcd_new_panel_io_i2c(configuration->port, &io_config, &outHandle) == ESP_OK; |
| 10 | } |
| 11 | |
| 12 | bool Ft5x06Touch::createTouchHandle(esp_lcd_panel_io_handle_t ioHandle, const esp_lcd_touch_config_t& configuration, esp_lcd_touch_handle_t& panelHandle) { |
| 13 | return esp_lcd_touch_new_i2c_ft5x06(ioHandle, &configuration, &panelHandle) == ESP_OK; |
nothing calls this directly
no outgoing calls
no test coverage detected