]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fix typo in BACKLIGHT_ENABLE
authorFred Sundvik <fsundvik@gmail.com>
Thu, 15 Jun 2017 20:21:01 +0000 (23:21 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Thu, 15 Jun 2017 20:21:01 +0000 (23:21 +0300)
keyboards/ergodox/infinity/animations.c

index 675519e309061f99988db05fc741f830b931e2e6..ebc08fde360d0c0ae850b59b81af7f3a4c4a28b8 100644 (file)
@@ -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;