diff options
author | tmk <nobody@nowhere> | 2012-12-26 23:14:07 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-12-26 23:14:07 +0900 |
commit | 5af988ac3786dd7c32f9808caf9f651a8cff47f5 (patch) | |
tree | cceb83e6bc2fd7542e5741c80233fd0dbb73cb93 /common/keyboard.c | |
parent | cf1eb8fbc6789776d3b3457dd5cf4ed84815e8b3 (diff) | |
download | qmk_firmware-5af988ac3786dd7c32f9808caf9f651a8cff47f5.tar.gz qmk_firmware-5af988ac3786dd7c32f9808caf9f651a8cff47f5.zip |
Fix bug of FAILSAFE key clear.
http://deskthority.net/workshop-f7/tmk-keyboard-firmware-collection-t4478.html#p90022
Diffstat (limited to 'common/keyboard.c')
-rw-r--r-- | common/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/keyboard.c b/common/keyboard.c index cd1ceb420c..2dee51d4b8 100644 --- a/common/keyboard.c +++ b/common/keyboard.c @@ -619,6 +619,10 @@ void keyboard_task(void) Kdebug("FAIL SAFE: clear all keys(default layer).\n"); clear_keyboard(); current_layer = default_layer; + fn_state_bits = 0; + delayed_fn = (keyrecord_t){}; + waiting_key = (keyrecord_t){}; + NEXT(IDLE); } } |