commit 1bdf4cdc22ae57d111efb2f7d71e405e5c7b3f11
parent 056d6aee27a452df76b7abcd15ef22172d619033
Author: Nick Brassel <nick@tzarc.org>
Date: Sun, 25 Sep 2022 22:04:52 +1000
Fix `tzarc/djinn` screen geometry. (#18478)
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/keyboards/tzarc/djinn/djinn.c b/keyboards/tzarc/djinn/djinn.c
@@ -70,7 +70,7 @@ void keyboard_post_init_kb(void) {
wait_ms(150);
// Initialise the LCD
- lcd = qp_ili9341_make_spi_device(320, 240, LCD_CS_PIN, LCD_DC_PIN, LCD_RST_PIN, 4, 0);
+ lcd = qp_ili9341_make_spi_device(240, 320, LCD_CS_PIN, LCD_DC_PIN, LCD_RST_PIN, 4, 0);
qp_init(lcd, QP_ROTATION_0);
// Turn on the LCD and clear the display
@@ -230,4 +230,4 @@ void housekeeping_task_kb(void) {
if (last_input_activity_elapsed() > 250) {
matrix_wait_for_interrupt();
}
-}
-\ No newline at end of file
+}