forked from xiaozhi/xiaozhi-esp32
Fix issue "Missing spaces" (#1582)
Co-authored-by: xuxin <xuxin@espressif.com>
This commit is contained in:
@@ -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,
|
esp_lcd_panel_io_event_data_t* const edata,
|
||||||
void* const user_ctx)
|
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,
|
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) {
|
if (panel) {
|
||||||
esp_lcd_panel_draw_bitmap(panel, x_start, y_start, x_end, y_end, color_data);
|
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
|
esp_lvgl_port: ~2.6.0
|
||||||
espressif/esp_io_expander_tca95xx_16bit: ^2.0.0
|
espressif/esp_io_expander_tca95xx_16bit: ^2.0.0
|
||||||
espressif2022/image_player: ^1.1.1
|
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/adc_mic: ^0.2.1
|
||||||
espressif/esp_mmap_assets: '>=1.2'
|
espressif/esp_mmap_assets: '>=1.2'
|
||||||
txp666/otto-emoji-gif-component:
|
txp666/otto-emoji-gif-component:
|
||||||
|
|||||||
Reference in New Issue
Block a user