File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ MenuFunctions::MenuFunctions()
49
49
50
50
uint16_t touchX, touchY;
51
51
52
- bool touched = display_obj.tft . getTouch (&touchX, &touchY, 600 );
52
+ bool touched = display_obj.updateTouch (&touchX, &touchY, 600 );
53
53
54
54
if (!touched)
55
55
{
@@ -672,11 +672,6 @@ void MenuFunctions::main(uint32_t currentTime)
672
672
this ->orientDisplay ();
673
673
wifi_scan_obj.orient_display = false ;
674
674
}
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*/
680
675
}
681
676
682
677
if (currentTime != 0 ) {
Original file line number Diff line number Diff line change @@ -1682,7 +1682,7 @@ void WiFiScan::RunAPScan(uint8_t scan_mode, uint16_t color)
1682
1682
display_obj.tft .setTouch (calData);
1683
1683
#endif
1684
1684
#else
1685
- display_obj.touchscreen .setRotation (1 );
1685
+ // display_obj.touchscreen.setRotation(1);
1686
1686
#endif
1687
1687
1688
1688
@@ -2377,7 +2377,7 @@ void WiFiScan::RunEapolScan(uint8_t scan_mode, uint16_t color)
2377
2377
#endif
2378
2378
display_obj.tft .setTouch (calData);
2379
2379
#else
2380
- display_obj.touchscreen .setRotation (1 );
2380
+ // display_obj.touchscreen.setRotation(1);
2381
2381
#endif
2382
2382
2383
2383
display_obj.tft .setFreeFont (NULL );
You can’t perform that action at this time.
0 commit comments