From: Grazvydas Ignotas Date: Sun, 16 Jan 2011 22:28:52 +0000 (+0200) Subject: op_test_inputs: minor validation adjustments X-Git-Tag: sz_beta3~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90d07cf7fb7cdf269d946e86b8c3948a375ab955;p=pandora-misc.git op_test_inputs: minor validation adjustments --- 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;