Explorar el Código

Update draw loop check.

Cody Tolene hace 2 años
padre
commit
7ca7b6e551
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src-fap/views/camera_suite_view_camera.c

+ 1 - 1
src-fap/views/camera_suite_view_camera.c

@@ -65,7 +65,7 @@ static void camera_suite_view_camera_draw(Canvas* canvas, UartDumpModel* model)
         }
 
         for(uint8_t i = 0; i < 8; ++i) {
-            if((model->pixels[p] & (1 << i)) != 0) {
+            if((model->pixels[p] & (1 << (7 - i))) != 0) {
                 // Adjust the coordinates based on the new screen dimensions
                 uint16_t screen_x, screen_y;
                 switch(app->orientation) {