summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/dynamic_macro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/dynamic_macro.h b/quantum/dynamic_macro.h
index 7dca30f076..f242405def 100644
--- a/quantum/dynamic_macro.h
+++ b/quantum/dynamic_macro.h
@@ -48,9 +48,11 @@ enum dynamic_macro_keycodes {
/* Blink the LEDs to notify the user about some event. */
void dynamic_macro_led_blink(void)
{
+#ifdef BACKLIGHT_ENABLE
backlight_toggle();
_delay_ms(100);
backlight_toggle();
+#endif
}
/* Convenience macros used for retrieving the debug info. All of them