Fix LVGL for CYD

This commit is contained in:
Just Call Me Koko
2025-04-25 18:21:11 -04:00
parent 37290100e4
commit cca589f749
2 changed files with 3 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ MenuFunctions::MenuFunctions()
uint16_t touchX, touchY;
bool touched = display_obj.tft.getTouch(&touchX, &touchY, 600);
bool touched = display_obj.updateTouch(&touchX, &touchY, 600);
if(!touched)
{
@@ -672,11 +672,6 @@ void MenuFunctions::main(uint32_t currentTime)
this->orientDisplay();
wifi_scan_obj.orient_display = false;
}
/*#ifdef HAS_ILI9341
if ((wifi_scan_obj.currentScanMode != LV_JOIN_WIFI) &&
(wifi_scan_obj.currentScanMode != LV_ADD_SSID))
display_obj.updateBanner(current_menu->name);
#endif*/
}
if (currentTime != 0) {

View File

@@ -1682,7 +1682,7 @@ void WiFiScan::RunAPScan(uint8_t scan_mode, uint16_t color)
display_obj.tft.setTouch(calData);
#endif
#else
display_obj.touchscreen.setRotation(1);
//display_obj.touchscreen.setRotation(1);
#endif
@@ -2377,7 +2377,7 @@ void WiFiScan::RunEapolScan(uint8_t scan_mode, uint16_t color)
#endif
display_obj.tft.setTouch(calData);
#else
display_obj.touchscreen.setRotation(1);
//display_obj.touchscreen.setRotation(1);
#endif
display_obj.tft.setFreeFont(NULL);