Skip to content

Commit 011d2c5

Browse files
Merge pull request #733 from justcallmekoko/develop
Fix LVGL for CYD
2 parents 68ef819 + cca589f commit 011d2c5

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

esp32_marauder/MenuFunctions.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ MenuFunctions::MenuFunctions()
4949

5050
uint16_t touchX, touchY;
5151

52-
bool touched = display_obj.tft.getTouch(&touchX, &touchY, 600);
52+
bool touched = display_obj.updateTouch(&touchX, &touchY, 600);
5353

5454
if(!touched)
5555
{
@@ -672,11 +672,6 @@ void MenuFunctions::main(uint32_t currentTime)
672672
this->orientDisplay();
673673
wifi_scan_obj.orient_display = false;
674674
}
675-
/*#ifdef HAS_ILI9341
676-
if ((wifi_scan_obj.currentScanMode != LV_JOIN_WIFI) &&
677-
(wifi_scan_obj.currentScanMode != LV_ADD_SSID))
678-
display_obj.updateBanner(current_menu->name);
679-
#endif*/
680675
}
681676

682677
if (currentTime != 0) {

esp32_marauder/WiFiScan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ void WiFiScan::RunAPScan(uint8_t scan_mode, uint16_t color)
16821682
display_obj.tft.setTouch(calData);
16831683
#endif
16841684
#else
1685-
display_obj.touchscreen.setRotation(1);
1685+
//display_obj.touchscreen.setRotation(1);
16861686
#endif
16871687

16881688

@@ -2377,7 +2377,7 @@ void WiFiScan::RunEapolScan(uint8_t scan_mode, uint16_t color)
23772377
#endif
23782378
display_obj.tft.setTouch(calData);
23792379
#else
2380-
display_obj.touchscreen.setRotation(1);
2380+
//display_obj.touchscreen.setRotation(1);
23812381
#endif
23822382

23832383
display_obj.tft.setFreeFont(NULL);

0 commit comments

Comments
 (0)