cleanup and improvements
improved driver creation fixed compile warnings in check.h hello_world example is now working again with lvgl
This commit is contained in:
@@ -65,9 +65,8 @@ static bool prv_create_touch(esp_lcd_panel_io_handle_t* io_handle, esp_lcd_touch
|
||||
}
|
||||
|
||||
nb_touch_driver_t board_2432s024_create_touch_driver() {
|
||||
nb_touch_driver_t driver = {
|
||||
return (nb_touch_driver_t) {
|
||||
.name = "cst816s_2432s024",
|
||||
.create_touch = &prv_create_touch
|
||||
};
|
||||
return driver;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user