set display mode to landscape

This commit is contained in:
liamcottle 2024-10-05 19:09:57 +13:00
parent 49a524e8d5
commit 940262e2c6

View File

@ -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);