git.ucc.asn.au
/
uccvend-snackrom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ad37b
)
FIX: when reading key, was always getting key from keymap1.
author
jedin
<jedin>
Fri, 15 Aug 2003 14:15:36 +0000
(14:15 +0000)
committer
jedin
<jedin>
Fri, 15 Aug 2003 14:15:36 +0000
(14:15 +0000)
ROM2/keypad.c
patch
|
blob
|
history
diff --git
a/ROM2/keypad.c
b/ROM2/keypad.c
index
f4b20c2
..
4105b24
100644
(file)
--- a/
ROM2/keypad.c
+++ b/
ROM2/keypad.c
@@
-36,9
+36,9
@@
void keypad_read() {
key = keypad_read_row(0);
if (!key) {
key = keypad_read_row(1);
+ key = keymap1[key];
+ } else
key = keymap0[key];
- }
- key = keymap1[key];
if (key != last_key) {
last_key = key;
UCC
git Repository :: git.ucc.asn.au