]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/dynamic_macro.h
Extended the hint of the programmer to link to the relevant README part instead of...
[qmk_firmware.git] / quantum / dynamic_macro.h
index f242405defbdcd7416371c87be7271a1a96e19b3..07cba19f604c9913f558d430c6fabfe7f3ae81ed 100644 (file)
@@ -50,7 +50,7 @@ void dynamic_macro_led_blink(void)
 {
 #ifdef BACKLIGHT_ENABLE
     backlight_toggle();
-    _delay_ms(100);
+    wait_ms(100);
     backlight_toggle();
 #endif
 }
@@ -274,6 +274,10 @@ bool process_record_dynamic_macro(uint16_t keycode, keyrecord_t *record)
                 macro_id = 0;
             }
             return false;
+        case DYN_MACRO_PLAY1:
+        case DYN_MACRO_PLAY2:
+            dprintln("dynamic macro: ignoring macro play key while recording");
+            return false;
         default:
             /* Store the key in the macro buffer and process it normally. */
             switch (macro_id) {