feat(platform): smooth preview transitions and recover shared SPI/audio state

This commit is contained in:
admin
2026-02-28 16:31:17 +08:00
parent 0bdcd877b3
commit 0e9bb4b5c5
8 changed files with 321 additions and 70 deletions

View File

@@ -23,6 +23,7 @@ esp_err_t lcd_module_show_png(const uint8_t *png,
uint32_t timeout_ms,
char *err,
size_t err_len);
void lcd_module_mark_shared_spi_dirty(void);
void lcd_module_deinit(void);
#ifdef __cplusplus

View File

@@ -79,6 +79,7 @@ esp_err_t st7789p3_set_backlight(st7789p3_handle_t panel, bool on);
esp_err_t st7789p3_set_madctl(st7789p3_handle_t panel, uint8_t madctl_val);
esp_err_t st7789p3_set_invert(st7789p3_handle_t panel, bool invert_color);
esp_err_t st7789p3_set_swap_color_bytes(st7789p3_handle_t panel, bool swap_color_bytes);
esp_err_t st7789p3_recover_spi_bus(st7789p3_handle_t panel);
esp_err_t st7789p3_set_window(
st7789p3_handle_t panel, uint16_t x_start, uint16_t y_start, uint16_t x_end, uint16_t y_end);