From 1d8668c31fb2a65a3fcd12eb9e73fca02aed3359 Mon Sep 17 00:00:00 2001 From: Liu Zhong Wei Date: Sat, 2 Sep 2023 11:47:39 +0800 Subject: [PATCH] feat(esp_lcd): add user data and init cmd --- components/esp_lcd/interface/esp_lcd_panel_interface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_lcd/interface/esp_lcd_panel_interface.h b/components/esp_lcd/interface/esp_lcd_panel_interface.h index b172c25d2b..463b2d0325 100644 --- a/components/esp_lcd/interface/esp_lcd_panel_interface.h +++ b/components/esp_lcd/interface/esp_lcd_panel_interface.h @@ -119,6 +119,8 @@ struct esp_lcd_panel_t { * - ESP_ERR_NOT_SUPPORTED if this function is not supported by the panel */ esp_err_t (*disp_on_off)(esp_lcd_panel_t *panel, bool on_off); + + void *user_data; /*!< User data, used to store externally customized data */ }; #ifdef __cplusplus