Fix errors when using multiple commands concurrently
This commit is contained in:
parent
40d6fbd17c
commit
48e9b81478
|
@ -129,9 +129,10 @@ void TrackInternalBuffer(KeyboardData data) {
|
||||||
SerialPrintf("Sharp returned %d\r\n", returnVal);
|
SerialPrintf("Sharp returned %d\r\n", returnVal);
|
||||||
} else {
|
} else {
|
||||||
SerialPrintf("[ Kbd] No match for %s\r\n", InternalBuffer);
|
SerialPrintf("[ Kbd] No match for %s\r\n", InternalBuffer);
|
||||||
memset(InternalBuffer, 0, 4098);
|
|
||||||
BufferLength = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(InternalBuffer, 0, 4098);
|
||||||
|
BufferLength = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!tentative && data.Scancode <= 0x2c && data.Scancode != 0x1C) {
|
if(!tentative && data.Scancode <= 0x2c && data.Scancode != 0x1C) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user