File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 9
9
### Bugfixes:
10
10
11
11
* fix(panel): init expander host with correct macro (#65 )
12
+ * fix(panel): don't reset the LCD if the bus is RGB bus and the ` ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO ` is enabled
12
13
* fix(examples): fix lvgl port rotation issue when enabling avoid tearing by @NecroMancer05
13
14
14
15
## v0.1.4 - 2024-06-17
Original file line number Diff line number Diff line change @@ -509,8 +509,11 @@ bool ESP_Panel::begin(void)
509
509
#endif
510
510
ESP_PANEL_CHECK_FALSE_RET (_lcd_bus_ptr->begin (), false , " Begin LCD bus failed" );
511
511
ESP_PANEL_CHECK_FALSE_RET (_lcd_ptr->init (), false , " Initialize LCD failed" );
512
- ESP_PANEL_CHECK_FALSE_RET (_lcd_ptr->reset (), false , " Reset LCD failed" );
513
512
// Operate LCD device according to the optional configurations
513
+ #if (ESP_PANEL_LCD_BUS_TYPE != ESP_PANEL_BUS_TYPE_RGB) || !ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO
514
+ // We can't reset the LCD if the bus is RGB bus and the `ESP_PANEL_LCD_FLAGS_AUTO_DEL_PANEL_IO` is enabled
515
+ ESP_PANEL_CHECK_FALSE_RET (_lcd_ptr->reset (), false , " Reset LCD failed" );
516
+ #endif
514
517
#ifdef ESP_PANEL_LCD_SWAP_XY
515
518
ESP_PANEL_CHECK_FALSE_RET (_lcd_ptr->swapXY (ESP_PANEL_LCD_SWAP_XY), false , " Swap XY failed" );
516
519
#endif
You can’t perform that action at this time.
0 commit comments