aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorGravatar Ian O'Dea <ianodea@gmail.com>2019-01-07 10:22:47 -0600
committerGravatar Ian O'Dea <ianodea@gmail.com>2019-01-07 10:22:47 -0600
commit6ca52c9d571659463a526fdeabb86af10c8e1665 (patch)
tree7848808335f140014defdcc76c08db94cc524aad /tmk_core
parent9f3afae5d12e7847639666b30f3239580dafed28 (diff)
downloadqmk_firmware-6ca52c9d571659463a526fdeabb86af10c8e1665.tar.gz
Fix indentation in tmk_core led_matrix.c
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/arm_atsam/led_matrix.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tmk_core/protocol/arm_atsam/led_matrix.c b/tmk_core/protocol/arm_atsam/led_matrix.c
index af49db28d..9b76d8bbc 100644
--- a/tmk_core/protocol/arm_atsam/led_matrix.c
+++ b/tmk_core/protocol/arm_atsam/led_matrix.c
@@ -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;