core: Fix variable init and header include (#7626)
tmk backport from tmk/tmk_keyboard@325a99acd9master
parent
1f26101f0e
commit
0374677814
|
@ -48,7 +48,7 @@ action_t action_for_key(uint8_t layer, keypos_t key) {
|
|||
// keycode remapping
|
||||
keycode = keycode_config(keycode);
|
||||
|
||||
action_t action;
|
||||
action_t action = {};
|
||||
uint8_t action_layer, when, mod;
|
||||
|
||||
switch (keycode) {
|
||||
|
|
Loading…
Reference in New Issue