From 6bdc5c862f51193f22250bceba61eed549492e26 Mon Sep 17 00:00:00 2001 From: Kevin Schlosser Date: Wed, 11 Dec 2024 01:46:21 -0700 Subject: [PATCH] Corrects variable name --- ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c b/ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c index aa802e38..97608e81 100644 --- a/ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c +++ b/ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c @@ -455,7 +455,7 @@ LCD_UNUSED(offset); for (uint32_t y = y_start; y < y_end; y++) { - index = (dst_height - 1 - y) * dst_width + (dst_width - 1 - x_start); + i = (dst_height - 1 - y) * dst_width + (dst_width - 1 - x_start); for (uint32_t x = x_start; x < x_end; x++) { copy_16bpp(dst + i, src); src++;