Просмотр исходного кода

dynamic_macro.h: Always toggle the backlight twice as a notification

Apparently sometimes the backlight was toggled only once and it was left on.
Wojciech Siewierski 8 лет назад
Родитель
Сommit
5e2a999278
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      quantum/dynamic_macro.h

+ 1 - 3
quantum/dynamic_macro.h

@@ -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();
     }
 }