diff options
| author | tmk <hasu@tmk-kbd.com> | 2015-01-01 12:17:11 +0900 |
|---|---|---|
| committer | tmk <hasu@tmk-kbd.com> | 2015-01-01 12:17:11 +0900 |
| commit | 22d99f26af757c0bedb31ba3f63d793e4b2d4ca3 (patch) | |
| tree | 4a3a8d2b4f1a762a149a0c5c7a2189d0b96e98e5 /common | |
| parent | 2e17aa2d6006ce42889d489847e504575f5d0995 (diff) | |
| download | qmk_firmware-22d99f26af757c0bedb31ba3f63d793e4b2d4ca3.tar.gz qmk_firmware-22d99f26af757c0bedb31ba3f63d793e4b2d4ca3.zip | |
Fix modifier stuck of Lock command(#127)
Diffstat (limited to 'common')
| -rw-r--r-- | common/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/command.c b/common/command.c index 971ef7f0a..1a507e3a4 100644 --- a/common/command.c +++ b/common/command.c | |||
| @@ -194,6 +194,7 @@ static bool command_common(uint8_t code) | |||
| 194 | case KC_CAPSLOCK: | 194 | case KC_CAPSLOCK: |
| 195 | if (host_get_driver()) { | 195 | if (host_get_driver()) { |
| 196 | host_driver = host_get_driver(); | 196 | host_driver = host_get_driver(); |
| 197 | clear_keyboard(); | ||
| 197 | host_set_driver(0); | 198 | host_set_driver(0); |
| 198 | print("Locked.\n"); | 199 | print("Locked.\n"); |
| 199 | } else { | 200 | } else { |
