Correct screen rotation

This commit is contained in:
suchmememanyskill
2025-01-18 01:35:20 +01:00
parent 1d7414d0ca
commit ebd618b481

View File

@@ -147,7 +147,7 @@ void screen_lv_touchRead(lv_indev_drv_t *indev_driver, lv_indev_data_t *data)
void screen_setup()
{
tft.begin();
tft.setRotation(global_config.rotate_screen ? 2 : 0);
tft.setRotation(global_config.rotate_screen ? 3 : 1);
delay(500);