aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author115ek <e.blosz@hotmail.de>2017-01-23 18:22:20 +0100
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-02-13 10:16:54 +0000
commitad34986480edbf4e73804eb4ff300f96d9afa0a4 (patch)
tree4fb1444c7eda999a3a29e81488200a26032e50e1
parent3b2581b47411a4a18db3593b0b51dbf8d6d64ae7 (diff)
downloadbootable_recovery-ad34986480edbf4e73804eb4ff300f96d9afa0a4.zip
bootable_recovery-ad34986480edbf4e73804eb4ff300f96d9afa0a4.tar.gz
bootable_recovery-ad34986480edbf4e73804eb4ff300f96d9afa0a4.tar.bz2
Rename process_key to ProcessKey
This fixes an undeclared indentifier error (maybe because function was renamed in the past...) Change-Id: I16b7d93182ed8c9efede3fbaff73d57d74732b4b (cherry picked from commit e946931ed6ec8df12c12ad249a2df8003e3a0a28)
-rw-r--r--ui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui.cpp b/ui.cpp
index d1eca91..c7268fb 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -444,12 +444,12 @@ void RecoveryUI::ProcessRel(input_device* dev, int code, int value) {
// key event.
dev->rel_sum += value;
if (dev->rel_sum > 3) {
- process_key(dev, KEY_DOWN, 1); // press down key
- process_key(dev, KEY_DOWN, 0); // and release it
+ ProcessKey(dev, KEY_DOWN, 1); // press down key
+ ProcessKey(dev, KEY_DOWN, 0); // and release it
dev->rel_sum = 0;
} else if (dev->rel_sum < -3) {
- process_key(dev, KEY_UP, 1); // press up key
- process_key(dev, KEY_UP, 0); // and release it
+ ProcessKey(dev, KEY_UP, 1); // press up key
+ ProcessKey(dev, KEY_UP, 0); // and release it
dev->rel_sum = 0;
}
}