We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f508c commit 26c6193Copy full SHA for 26c6193
ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c
@@ -384,11 +384,10 @@
384
uint32_t dst_bytes_per_line = dst_width * bytes_per_pixel;
385
386
if (rgb565_dither) {
387
- uint32_t tmp_x;
388
for(uint32_t y = y_start; y < y_end; y++) {
389
for (uint32_t x=0;x<x_end;x++) {
390
rgb565_dither_pixel(CALC_THRESHOLD(x, y), (uint16_t *)(src) + x);
391
- copy_16bpp((uint16_t *)(src) + x, (uint16_t *)(to) + x);
+ copy_16bpp((uint16_t *)(src) + x, (uint16_t *)(dst) + x);
392
}
393
dst += dst_bytes_per_line;
394
src += src_bytes_per_line;
0 commit comments