This commit is contained in:
cuu
2022-11-13 13:55:29 +08:00
parent 2204b6dfd4
commit 64330ea01f
2 changed files with 73 additions and 24 deletions

View File

@@ -103,7 +103,9 @@ void check_keyboard_lock(KEYBOARD_LOCK*lock){
}
if( lock->time > 200){
dev_term.Keyboard->release(lock->begin);
if(lock->begin != _FN_KEY) {
dev_term.Keyboard->release(lock->begin);
}
lock->time = 0;
lock->lock = 0;
lock->begin = 0;