| 14 | } |
| 15 | |
| 16 | esp_lcd_touch_config_t Ft5x06Touch::createEspLcdTouchConfig() { |
| 17 | return { |
| 18 | .x_max = configuration->xMax, |
| 19 | .y_max = configuration->yMax, |
| 20 | .rst_gpio_num = configuration->pinReset, |
| 21 | .int_gpio_num = configuration->pinInterrupt, |
| 22 | .levels = { |
| 23 | .reset = configuration->pinResetLevel, |
| 24 | .interrupt = configuration->pinInterruptLevel, |
| 25 | }, |
| 26 | .flags = { |
| 27 | .swap_xy = configuration->swapXy, |
| 28 | .mirror_x = configuration->mirrorX, |
| 29 | .mirror_y = configuration->mirrorY, |
| 30 | }, |
| 31 | .process_coordinates = nullptr, |
| 32 | .interrupt_callback = nullptr, |
| 33 | .user_data = nullptr, |
| 34 | .driver_data = nullptr |
| 35 | }; |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected