From c667da019078442ff0fd9a4ca33ad09b627672f2 Mon Sep 17 00:00:00 2001 From: David Hoelscher Date: Sun, 29 Oct 2023 12:35:38 -0500 Subject: [PATCH] QP getters correction (#22357) --- quantum/painter/qp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/quantum/painter/qp.c b/quantum/painter/qp.c index dc69789484..3759866509 100644 --- a/quantum/painter/qp.c +++ b/quantum/painter/qp.c @@ -148,10 +148,11 @@ uint16_t qp_get_width(painter_device_t device) { case QP_ROTATION_0: case QP_ROTATION_180: width = driver->panel_width; - + break; case QP_ROTATION_90: case QP_ROTATION_270: width = driver->panel_height; + break; } qp_dprintf("qp_get_width: ok\n"); @@ -173,10 +174,11 @@ uint16_t qp_get_height(painter_device_t device) { case QP_ROTATION_0: case QP_ROTATION_180: height = driver->panel_height; - + break; case QP_ROTATION_90: case QP_ROTATION_270: height = driver->panel_width; + break; } qp_dprintf("qp_get_height: ok\n");