set display mode to landscape
This commit is contained in:
parent
49a524e8d5
commit
940262e2c6
|
@ -263,8 +263,8 @@ bool display_init() {
|
||||||
disp_mode = DISP_MODE_PORTRAIT;
|
disp_mode = DISP_MODE_PORTRAIT;
|
||||||
display.setRotation(1);
|
display.setRotation(1);
|
||||||
#elif BOARD_MODEL == BOARD_RAK4631
|
#elif BOARD_MODEL == BOARD_RAK4631
|
||||||
disp_mode = DISP_MODE_PORTRAIT;
|
disp_mode = DISP_MODE_LANDSCAPE;
|
||||||
display.setRotation(1);
|
display.setRotation(0);
|
||||||
#elif BOARD_MODEL == BOARD_TDECK
|
#elif BOARD_MODEL == BOARD_TDECK
|
||||||
disp_mode = DISP_MODE_PORTRAIT;
|
disp_mode = DISP_MODE_PORTRAIT;
|
||||||
display.setRotation(3);
|
display.setRotation(3);
|
||||||
|
|
Loading…
Reference in New Issue