renamed struct types

This commit is contained in:
Ken Van Hoeylandt
2023-12-28 13:07:01 +01:00
parent 6282011634
commit 1cafa1ec1a
38 changed files with 120 additions and 120 deletions
+3 -3
View File
@@ -12,18 +12,18 @@ typedef bool (*CreateTouch)(esp_lcd_panel_io_handle_t* io_handle, esp_lcd_touch_
typedef struct {
char name[32];
CreateTouch create_touch;
} NbTouchDriver;
} TouchDriver;
typedef struct {
esp_lcd_panel_io_handle_t _Nonnull io_handle;
esp_lcd_touch_handle_t _Nonnull touch_handle;
} NbTouch;
} TouchDevice;
/**
* @param[in] driver
* @return a newly allocated instance
*/
NbTouch _Nonnull* nb_touch_alloc(NbTouchDriver _Nonnull* driver);
TouchDevice _Nonnull* nb_touch_alloc(TouchDriver _Nonnull* driver);
#ifdef __cplusplus
}