cleanup
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#define TAG "2432s024_cst816"
|
||||
|
||||
static bool prv_create_touch_device(esp_lcd_panel_io_handle_t* io_handle, esp_lcd_touch_handle_t* touch_handle) {
|
||||
static bool create_touch_device(esp_lcd_panel_io_handle_t* io_handle, esp_lcd_touch_handle_t* touch_handle) {
|
||||
ESP_LOGI(TAG, "creating touch");
|
||||
|
||||
const i2c_config_t i2c_conf = {
|
||||
@@ -67,6 +67,6 @@ static bool prv_create_touch_device(esp_lcd_panel_io_handle_t* io_handle, esp_lc
|
||||
TouchDriver board_2432s024_create_touch_driver() {
|
||||
return (TouchDriver) {
|
||||
.name = "cst816s_2432s024",
|
||||
.create_touch_device = &prv_create_touch_device
|
||||
.create_touch_device = &create_touch_device
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user