Browse Source

Fix dynamic keymap macro only sending first. (#25309)

Dasky 1 year ago
parent
commit
41b1bb4aef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      quantum/dynamic_keymap.c

+ 1 - 1
quantum/dynamic_keymap.c

@@ -166,6 +166,6 @@ void dynamic_keymap_macro_send(uint8_t id) {
         ++offset;
         ++offset;
     }
     }
 
 
-    send_string_nvm_state_t state = {.offset = 0};
+    send_string_nvm_state_t state = {.offset = offset};
     send_string_with_delay_impl(send_string_get_next_nvm, &state, DYNAMIC_KEYMAP_MACRO_DELAY);
     send_string_with_delay_impl(send_string_get_next_nvm, &state, DYNAMIC_KEYMAP_MACRO_DELAY);
 }
 }