Skip to content

Commit

Permalink
Correct screen rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Jan 18, 2025
1 parent 1d7414d commit ebd618b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CYD-Klipper/src/core/device/ESP32-CROWPANEL-35C.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ebd618b

Please sign in to comment.