Skip to content

Commit c99c6e3

Browse files
committed
fixup! lvgl/drivers: change rotation
1 parent 6051e0e commit c99c6e3

File tree

1 file changed

+1
-2
lines changed
  • hw/drivers/display/lvgl/tft/st7796S/src

1 file changed

+1
-2
lines changed

hw/drivers/display/lvgl/tft/st7796S/src/st7796s.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@
126126
#define ST7796S_MADCTL_RGB 0x00
127127
#define ST7796S_MADCTL_BGR 0x08
128128
#define ST7796S_MADCTL_0 ST7796S_MADCTL_MX
129-
#define ST7796S_MADCTL_90 \
130-
(ST7796S_MADCTL_MY | ST7796S_MADCTL_ML | ST7796S_MADCTL_MV | ST7796S_MADCTL_MX)
129+
#define ST7796S_MADCTL_90 (ST7796S_MADCTL_MY | ST7796S_MADCTL_ML | ST7796S_MADCTL_MV | ST7796S_MADCTL_MX)
131130
#define ST7796S_MADCTL_180 (ST7796S_MADCTL_MY | ST7796S_MADCTL_ML)
132131
#define ST7796S_MADCTL_270 (ST7796S_MADCTL_MV)
133132

0 commit comments

Comments
 (0)