]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fix indentation in tmk_core led_matrix.c
authorIan O'Dea <ianodea@gmail.com>
Mon, 7 Jan 2019 16:22:47 +0000 (10:22 -0600)
committerIan O'Dea <ianodea@gmail.com>
Mon, 7 Jan 2019 16:22:47 +0000 (10:22 -0600)
tmk_core/protocol/arm_atsam/led_matrix.c

index af49db28dd786c4214bab7c2d22b03478cc6de2c..9b76d8bbc8bb3ff9e0830e9bc1584afa6e8e694b 100644 (file)
@@ -332,17 +332,17 @@ void led_matrix_run(void)
             {
 
                 if (led_animation_circular) {
-                  po = sqrtf((powf(fabsf((disp.width / 2) - (led_cur->x - disp.left)), 2) + powf(fabsf((disp.height / 2) - (led_cur->y - disp.bottom)), 2))) / disp.max_distance * 100;
+                    po = sqrtf((powf(fabsf((disp.width / 2) - (led_cur->x - disp.left)), 2) + powf(fabsf((disp.height / 2) - (led_cur->y - disp.bottom)), 2))) / disp.max_distance * 100;
                 }
                 else {
-                  if (led_animation_orientation)
-                  {
-                      po = led_cur->py;
-                  }
-                  else
-                  {
-                      po = led_cur->px;
-                  }
+                    if (led_animation_orientation)
+                    {
+                        po = led_cur->py;
+                    }
+                    else
+                    {
+                        po = led_cur->px;
+                    }
                 }
 
                 float pomod;