lvgl_port_init() function
Initialize LVGL portation
Return value
- ESP_OK on success - ESP_ERR_INVALID_ARG if some of the create_args are not valid - ESP_ERR_INVALID_STATE if esp_timer library is not initialized yet - ESP_ERR_NO_MEM if memory allocation fails
Notes
This function initialize LVGL and create timer and task for LVGL right working.