mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 18:48:05 +06:00
Fix tzarc/djinn
screen geometry. (#18478)
This commit is contained in:
parent
056d6aee27
commit
1bdf4cdc22
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user