Skip to content

Commit 6bdc5c8

Browse files
committed
Corrects variable name
1 parent 4b2b273 commit 6bdc5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
LCD_UNUSED(offset);
456456

457457
for (uint32_t y = y_start; y < y_end; y++) {
458-
index = (dst_height - 1 - y) * dst_width + (dst_width - 1 - x_start);
458+
i = (dst_height - 1 - y) * dst_width + (dst_width - 1 - x_start);
459459
for (uint32_t x = x_start; x < x_end; x++) {
460460
copy_16bpp(dst + i, src);
461461
src++;

0 commit comments

Comments
 (0)