summaryrefslogtreecommitdiff
path: root/utils/nwztools/plattools/test_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/plattools/test_adc.c')
-rw-r--r--utils/nwztools/plattools/test_adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/nwztools/plattools/test_adc.c b/utils/nwztools/plattools/test_adc.c
index 52c0bffe1b..a0b12f55cc 100644
--- a/utils/nwztools/plattools/test_adc.c
+++ b/utils/nwztools/plattools/test_adc.c
@@ -24,7 +24,7 @@ int main(int argc, char **argv)
24{ 24{
25 /* clear screen and display welcome message */ 25 /* clear screen and display welcome message */
26 nwz_lcdmsg(true, 0, 0, "test_adc"); 26 nwz_lcdmsg(true, 0, 0, "test_adc");
27 nwz_lcdmsg(false, 0, 2, "PWR OFF: quit"); 27 nwz_lcdmsg(false, 0, 2, "BACK: quit");
28 /* open input device */ 28 /* open input device */
29 int input_fd = nwz_key_open(); 29 int input_fd = nwz_key_open();
30 if(input_fd < 0) 30 if(input_fd < 0)
@@ -55,7 +55,7 @@ int main(int argc, char **argv)
55 struct input_event evt; 55 struct input_event evt;
56 if(nwz_key_read_event(input_fd, &evt) != 1) 56 if(nwz_key_read_event(input_fd, &evt) != 1)
57 continue; 57 continue;
58 if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_OPTION && !nwz_key_event_is_press(&evt)) 58 if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_BACK && !nwz_key_event_is_press(&evt))
59 break; 59 break;
60 } 60 }
61 /* finish nicely */ 61 /* finish nicely */