Skip to content

Commit

Permalink
Merge pull request #325 from MrSurly/fix-upstream-issue-324
Browse files Browse the repository at this point in the history
fix for #324
  • Loading branch information
kisvegabor committed Dec 13, 2022
2 parents 6e3bedb + 7498d3f commit cffa173
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main/main.c
Expand Up @@ -114,6 +114,10 @@ static void guiTask(void *pvParameter) {
lv_disp_drv_init(&disp_drv);
disp_drv.flush_cb = disp_driver_flush;

#if defined CONFIG_DISPLAY_ORIENTATION_PORTRAIT || defined CONFIG_DISPLAY_ORIENTATION_PORTRAIT_INVERTED
disp_drv.rotated = 1;
#endif

/* When using a monochrome display we need to register the callbacks:
* - rounder_cb
* - set_px_cb */
Expand Down

0 comments on commit cffa173

Please sign in to comment.