Update espmega_iot_core.cpp

This commit is contained in:
Siwat Sirichai 2023-09-30 14:28:25 +07:00
parent d0a7389bf9
commit 3409ed8fb7
1 changed files with 3 additions and 0 deletions

View File

@ -726,6 +726,9 @@ void lcd_loop()
{ {
lcd_thread_controller.run(); lcd_thread_controller.run();
panel.NextionListen(); panel.NextionListen();
#ifdef ENABLE_EXTERNAL_LCD
ESPMega_EXTLCD.NextionListen();
#endif
if (panel.currentPageId != lcd_current_page) if (panel.currentPageId != lcd_current_page)
{ {
lcd_current_page = panel.currentPageId; lcd_current_page = panel.currentPageId;