Skip to content

Commit 26c6193

Browse files
committed
Fixes compile error.
1 parent f4f508c commit 26c6193

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,11 +384,10 @@
384384
uint32_t dst_bytes_per_line = dst_width * bytes_per_pixel;
385385

386386
if (rgb565_dither) {
387-
uint32_t tmp_x;
388387
for(uint32_t y = y_start; y < y_end; y++) {
389388
for (uint32_t x=0;x<x_end;x++) {
390389
rgb565_dither_pixel(CALC_THRESHOLD(x, y), (uint16_t *)(src) + x);
391-
copy_16bpp((uint16_t *)(src) + x, (uint16_t *)(to) + x);
390+
copy_16bpp((uint16_t *)(src) + x, (uint16_t *)(dst) + x);
392391
}
393392
dst += dst_bytes_per_line;
394393
src += src_bytes_per_line;

0 commit comments

Comments
 (0)