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 b9bc637 commit 968fca8Copy full SHA for 968fca8
ext_mod/lcd_bus/esp32_src/rgb_bus_rotation.c
@@ -189,7 +189,7 @@
189
}
190
191
rgb_bus_lock_acquire(&self->copy_lock, -1);
192
-
+ rgb_bus_lock_acquire(&self->swap_lock, -1);
193
bool exit = rgb_bus_event_isset(&self->copy_task_exit);
194
195
while (!exit) {
@@ -348,8 +348,7 @@
348
uint32_t index;
349
for (int y = y_start; y < y_end; y++) {
350
index = ((v_res - 1 - y) * h_res + (h_res - 1 - x_start)) * bytes_per_pixel;
351
- for (size_t x = x_start; x < x_end; x++)
352
- {
+ for (size_t x = x_start; x < x_end; x++) {
353
func(to + index, from);
354
index -= bytes_per_pixel;
355
from += bytes_per_pixel;
0 commit comments