Skip to content

Commit 5a90b8f

Browse files
authored
Update esp32-s3-touch-lcd-3.5.cc
1 parent 988903d commit 5a90b8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/boards/esp32-s3-touch-lcd-3.5/esp32-s3-touch-lcd-3.5.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ class CustomBoard : public WifiBoard {
251251
InitializeAxp2101();
252252
InitializeSpi();
253253
InitializeLcdDisplay();
254-
if (esp_reset_reason() == ESP_RST_POWERON)
255-
{
254+
// 解决部分开机黑屏的问题
255+
if (esp_reset_reason() == ESP_RST_POWERON) {
256256
fflush(stdout);
257257
esp_restart();
258258
}

0 commit comments

Comments
 (0)