Fix indentation in tmk_core led_matrix.c

This commit is contained in:
Ian O'Dea 2019-01-07 10:22:47 -06:00
parent 9f3afae5d1
commit 6ca52c9d57

View File

@ -332,17 +332,17 @@ void led_matrix_run(void)
{ {
if (led_animation_circular) { 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 { else {
if (led_animation_orientation) if (led_animation_orientation)
{ {
po = led_cur->py; po = led_cur->py;
} }
else else
{ {
po = led_cur->px; po = led_cur->px;
} }
} }
float pomod; float pomod;