From 1624e14ae17d6a8fd8d7880e54874d764bb9fd18 Mon Sep 17 00:00:00 2001 From: peterzhenghj <119376536+peterzhenghj@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:50:27 +0800 Subject: [PATCH] offset screen --- ports/espressif/boards/waveshare_esp32_c6_lcd_1_47/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 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 3417383e13b5..11ed938c0d4f 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 @@ -78,8 +78,8 @@ static void display_init(void) { bus, 320, // width (after rotation) 172, // height (after rotation) - 2, // column start - 2, // row start + 10, // column start + 0, // row start 0, // rotation 16, // color depth false, // grayscale