feat(esp_lcd): add user data and init cmd

This commit is contained in:
Liu Zhong Wei 2023-09-02 11:47:39 +08:00 committed by morris
parent f0437b945f
commit 559df9640c

View File

@ -119,6 +119,8 @@ struct esp_lcd_panel_t {
* - ESP_ERR_NOT_SUPPORTED if this function is not supported by the panel * - 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); 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 #ifdef __cplusplus