diff options
Diffstat (limited to 'utils/nwztools/plattools/test_power.c')
-rw-r--r-- | utils/nwztools/plattools/test_power.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/nwztools/plattools/test_power.c b/utils/nwztools/plattools/test_power.c index c02f689b17..9c429b989a 100644 --- a/utils/nwztools/plattools/test_power.c +++ b/utils/nwztools/plattools/test_power.c | |||
@@ -63,7 +63,7 @@ int main(int argc, char **argv) | |||
63 | { | 63 | { |
64 | /* clear screen and display welcome message */ | 64 | /* clear screen and display welcome message */ |
65 | nwz_lcdmsg(true, 0, 0, "test_power"); | 65 | nwz_lcdmsg(true, 0, 0, "test_power"); |
66 | nwz_lcdmsg(false, 0, 2, "PWR OFF: quit"); | 66 | nwz_lcdmsg(false, 0, 2, "BACK: quit"); |
67 | /* open input device */ | 67 | /* open input device */ |
68 | int input_fd = nwz_key_open(); | 68 | int input_fd = nwz_key_open(); |
69 | if(input_fd < 0) | 69 | if(input_fd < 0) |
@@ -126,7 +126,7 @@ int main(int argc, char **argv) | |||
126 | struct input_event evt; | 126 | struct input_event evt; |
127 | if(nwz_key_read_event(input_fd, &evt) != 1) | 127 | if(nwz_key_read_event(input_fd, &evt) != 1) |
128 | continue; | 128 | continue; |
129 | if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_OPTION && !nwz_key_event_is_press(&evt)) | 129 | if(nwz_key_event_get_keycode(&evt) == NWZ_KEY_BACK && !nwz_key_event_is_press(&evt)) |
130 | break; | 130 | break; |
131 | } | 131 | } |
132 | /* finish nicely */ | 132 | /* finish nicely */ |