]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
dynamic_macro.h: Always toggle the backlight twice as a notification
authorWojciech Siewierski <wojciech.siewierski@onet.pl>
Wed, 3 May 2017 22:58:01 +0000 (00:58 +0200)
committerWojciech Siewierski <wojciech.siewierski@onet.pl>
Wed, 3 May 2017 22:58:01 +0000 (00:58 +0200)
Apparently sometimes the backlight was toggled only once and it was left on.

quantum/dynamic_macro.h

index 1a8ec40326466c3dbb89deca343caf15f242af33..c9120897f8fecf030e5db2d5ebe6e5de102c0e28 100644 (file)
@@ -119,9 +119,7 @@ void dynamic_macro_record_key(
         **macro_pointer = *record;
         *macro_pointer += direction;
     } else {
-        /* Notify about the end of buffer. The blinks are paired
-         * because they should happen on both down and up events. */
-        backlight_toggle();
+        dynamic_macro_led_blink();
     }
 }