From e713208163adcf3ec0f28bbe719def776de8628c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Milants?= Date: Wed, 13 May 2026 11:31:45 +0200 Subject: [PATCH] Adjust display init sequence to fix a rotation issue on the new ST7789P3 display controller. --- src/drivers/St7789.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/St7789.cpp b/src/drivers/St7789.cpp index 482fbad6bd..d8db87879c 100644 --- a/src/drivers/St7789.cpp +++ b/src/drivers/St7789.cpp @@ -17,7 +17,6 @@ void St7789::Init() { HardwareReset(); SoftwareReset(); Command2Enable(); - SleepOut(); PixelFormat(); MemoryDataAccessControl(); SetAddrWindow(0, 0, Width, Height); @@ -32,6 +31,7 @@ void St7789::Init() { SetVdv(); PowerControl(); GateControl(); + SleepOut(); DisplayOn(); }