fix(platform): run LCD preheat on render task
This commit is contained in:
@@ -426,14 +426,15 @@ esp_err_t platform_lcd_request_presentation(const platform_lcd_presentation_requ
|
||||
* @brief Preload the decoded assets for a LCD presentation without changing display state.
|
||||
*
|
||||
* Semantics:
|
||||
* - Non-blocking.
|
||||
* - Queues the preload on the LCD render task and blocks until it completes or
|
||||
* the internal safety timeout elapses.
|
||||
* - Returns `ESP_ERR_INVALID_STATE` if the LCD is not initialized or is stopping.
|
||||
* - Request data is copied during the call; caller-owned pointers only need to
|
||||
* remain valid until this function returns.
|
||||
* - Only asset-sequence presentations are supported; other kinds return
|
||||
* `ESP_ERR_INVALID_ARG`.
|
||||
* - The render task performs the preload incrementally and may drop older
|
||||
* cached assets if memory is needed.
|
||||
* - The render task performs the preload between display frames and may drop
|
||||
* older cached assets if memory is needed.
|
||||
*/
|
||||
esp_err_t platform_lcd_preheat_presentation(const platform_lcd_presentation_request_t *request);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user