From 90d07cf7fb7cdf269d946e86b8c3948a375ab955 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Mon, 17 Jan 2011 00:28:52 +0200 Subject: [PATCH] op_test_inputs: minor validation adjustments --- op_test_inputs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/op_test_inputs.c b/op_test_inputs.c index ec5fd8b..130dadf 100644 --- a/op_test_inputs.c +++ b/op_test_inputs.c @@ -500,7 +500,7 @@ int main(int argc, char *argv[]) #ifdef VALIDATION int early_leave_attempt = 0; text_out16_small(screen, 220, 3, 0x7bef, - "press menu/pandora to shutdown, L+Start to exit"); + "press menu/pandora to exit"); #else text_out16_small(screen, 320, 3, 0x7bef, "Press L+R to exit"); #endif @@ -590,6 +590,7 @@ int main(int argc, char *argv[]) pressed_r = !!ev[i].value; #ifdef VALIDATION if (ev[i].code == KEY_LEFTALT && !!ev[i].value && pressed_l) { + // L+Start, legacy code if (nub_range_hit == 0xff && all_btns_tested && lid_tested && ts_tested) goto end; if (pressed_l && pressed_r) @@ -600,7 +601,7 @@ int main(int argc, char *argv[]) if ((nub_range_hit == 0xff && all_btns_tested && lid_tested && ts_tested) || (pressed_l && pressed_r)) { sync(); - system("poweroff -f"); + //system("poweroff -f"); goto end; } early_leave_attempt = 1; -- 2.39.5