From b44a2312ee02eb822c2302e83ac138a368deca59 Mon Sep 17 00:00:00 2001 From: peterzhenghj <119376536+peterzhenghj@users.noreply.github.com> Date: Thu, 28 Nov 2024 09:52:06 +0800 Subject: [PATCH] 270_10-10 --- ports/espressif/boards/waveshare_esp32_c6_lcd_1_47/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/espressif/boards/waveshare_esp32_c6_lcd_1_47/board.c b/ports/espressif/boards/waveshare_esp32_c6_lcd_1_47/board.c index 7eaa9e89cd49..86906ac1556a 100644 --- a/ports/espressif/boards/waveshare_esp32_c6_lcd_1_47/board.c +++ b/ports/espressif/boards/waveshare_esp32_c6_lcd_1_47/board.c @@ -79,10 +79,10 @@ static void display_init(void) { common_hal_busdisplay_busdisplay_construct( display, bus, - 320, // width (after rotation) - 172, // height (after rotation) + 172, // width (after rotation) + 320, // height (after rotation) 10, // column start - 120, // row start + 10, // row start 270, // rotation 16, // Color depth false, // Grayscale