summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-06-15 22:21:01 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-06-15 22:21:01 +0200
commit19f0285a766e412db14e6cbe24532fdbff610af0 (patch)
treedc45cd8bc7816f56319db9334162905d58af73f8 /keyboards
parentb51a0db6ed03d939baad7cb9d87ed13c3653c7d2 (diff)
downloadqmk_firmware-19f0285a766e412db14e6cbe24532fdbff610af0.tar.gz
qmk_firmware-19f0285a766e412db14e6cbe24532fdbff610af0.tar.xz
Fix typo in BACKLIGHT_ENABLE
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ergodox/infinity/animations.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/ergodox/infinity/animations.c b/keyboards/ergodox/infinity/animations.c
index 675519e30..ebc08fde3 100644
--- a/keyboards/ergodox/infinity/animations.c
+++ b/keyboards/ergodox/infinity/animations.c
@@ -65,7 +65,7 @@ static bool keyframe_fade_in(keyframe_animation_t* animation, visualizer_state_t
#ifdef LCD_BACKLIGHT_ENABLE
ret |= backlight_keyframe_animate_color(animation, state);
#endif
-#ifdef BACLIGHT_ENABLE
+#ifdef BACKLIGHT_ENABLE
ret |= led_keyframe_fade_in_all(animation, state);
#endif
return ret;
@@ -76,7 +76,7 @@ static bool keyframe_fade_out(keyframe_animation_t* animation, visualizer_state_
#ifdef LCD_BACKLIGHT_ENABLE
ret |= backlight_keyframe_animate_color(animation, state);
#endif
-#ifdef BACLIGHT_ENABLE
+#ifdef BACKLIGHT_ENABLE
ret |= led_keyframe_fade_out_all(animation, state);
#endif
return ret;