Skip to content

Commit

Permalink
Only do macro refresh for dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
captdeaf committed Oct 26, 2024
1 parent f638b6f commit 9853633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions keyboards/svalboard/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ void keyboard_post_init_user(void) {
//debug_mouse=true;
rgblight_layers = sval_rgb_layers;

#if __has_include("keymap_all.h")
// Check if we've already got our macros set. At this point we're just
// seeing if ANY macro is defined.
if (sval_macro_size > 0) {
Expand All @@ -194,4 +195,5 @@ void keyboard_post_init_user(void) {
dynamic_keymap_macro_set_buffer(0, sval_macro_size, sval_macros);
}
}
#endif
}

0 comments on commit 9853633

Please sign in to comment.