1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 22:08:08 +00:00

fix(core): fix st7789v driver compilation for other than T models

[no changelog]
This commit is contained in:
tychovrahe 2024-02-20 11:04:26 +01:00 committed by TychoVrahe
parent 8313c15f34
commit eb6796059c

View File

@ -200,7 +200,7 @@ int display_orientation(int degrees) {
lx154a2422_rotate(degrees, &DISPLAY_PADDING);
}
#else
DISPLAY_PANEL_ROTATE(degrees, &BUFFER_OFFSET);
DISPLAY_PANEL_ROTATE(degrees, &DISPLAY_PADDING);
#endif
}
}