core: Fix variable init and header include (#7626)

tmk backport from tmk/tmk_keyboard@325a99acd9c81f60519b6e594b2bf5d1e478ac56
master
Drashna Jaelre 4 years ago committed by Joel Challis
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…
Cancel
Save