mirror of
https://github.com/78/xiaozhi-esp32.git
synced 2026-01-14 01:07:30 +08:00
Merge branch '78:main' into main
This commit is contained in:
commit
8d5b791e7f
@ -362,7 +362,11 @@ bool EmoteEngine::OnFlushIoReady(const esp_lcd_panel_io_handle_t panel_io,
|
||||
esp_lcd_panel_io_event_data_t* const edata,
|
||||
void* const user_ctx)
|
||||
{
|
||||
return true;
|
||||
gfx_handle_t handle = static_cast<gfx_handle_t>(user_ctx);
|
||||
if (handle) {
|
||||
gfx_emote_flush_ready(handle, true);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void EmoteEngine::OnFlush(const gfx_handle_t handle, const int x_start, const int y_start,
|
||||
@ -372,7 +376,6 @@ void EmoteEngine::OnFlush(const gfx_handle_t handle, const int x_start, const in
|
||||
if (panel) {
|
||||
esp_lcd_panel_draw_bitmap(panel, x_start, y_start, x_end, y_end, color_data);
|
||||
}
|
||||
gfx_emote_flush_ready(handle, true);
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@ -44,7 +44,7 @@ dependencies:
|
||||
esp_lvgl_port: ~2.6.0
|
||||
espressif/esp_io_expander_tca95xx_16bit: ^2.0.0
|
||||
espressif2022/image_player: ^1.1.1
|
||||
espressif2022/esp_emote_gfx: ^1.1.2
|
||||
espressif2022/esp_emote_gfx: ==2.0.0
|
||||
espressif/adc_mic: ^0.2.1
|
||||
espressif/esp_mmap_assets: '>=1.2'
|
||||
txp666/otto-emoji-gif-component:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user