tmk 2012-12-26 23:14:07 +09:00
parent cf1eb8fbc6
commit 5af988ac37

View File

@ -619,6 +619,10 @@ void keyboard_task(void)
Kdebug("FAIL SAFE: clear all keys(default layer).\n"); Kdebug("FAIL SAFE: clear all keys(default layer).\n");
clear_keyboard(); clear_keyboard();
current_layer = default_layer; current_layer = default_layer;
fn_state_bits = 0;
delayed_fn = (keyrecord_t){};
waiting_key = (keyrecord_t){};
NEXT(IDLE);
} }
} }