From eb6796059c740c72effe554ff0bbf22643689d97 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 20 Feb 2024 11:04:26 +0100 Subject: [PATCH] fix(core): fix st7789v driver compilation for other than T models [no changelog] --- core/embed/trezorhal/stm32f4/displays/st7789v.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/trezorhal/stm32f4/displays/st7789v.c b/core/embed/trezorhal/stm32f4/displays/st7789v.c index 1f1d3f34c..53c0d2ac9 100644 --- a/core/embed/trezorhal/stm32f4/displays/st7789v.c +++ b/core/embed/trezorhal/stm32f4/displays/st7789v.c @@ -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 } }