public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
489be35
)
ubee: fix silly bug in lpen tty
author
Alan Cox
<alan@linux.intel.com>
Sat, 5 May 2018 19:44:09 +0000
(20:44 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 5 May 2018 19:44:09 +0000
(20:44 +0100)
Not enough to make it work
Kernel/platform-ubee/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-ubee/devtty.c
b/Kernel/platform-ubee/devtty.c
index
e76df75
..
6ab8d17
100644
(file)
--- a/
Kernel/platform-ubee/devtty.c
+++ b/
Kernel/platform-ubee/devtty.c
@@
-249,9
+249,11
@@
void lpen_kbd_poll(void)
return;
}
if (kbtest(63))
- k = xlate_shift[
k
];
+ k = xlate_shift[
lpen_kbd_last
];
else
- k = xlate[k];
+ k = xlate[lpen_kbd_last];
+ if (k == 0)
+ return;
if (capslock && (k >= 'a' && k <= 'z'))
k -= 32;
if (k >= 64 && k <= 127 && kbtest(57))