[joyos] r302 committed - Automatically wait for RF start, press Go to bypass

0 views
Skip to first unread message

jo...@googlecode.com

unread,
Jan 22, 2011, 4:45:31 PM1/22/11
to joyos...@googlegroups.com
Revision: 302
Author: scot...@gmail.com
Date: Sat Jan 22 13:44:43 2011
Log: Automatically wait for RF start, press Go to bypass

http://code.google.com/p/joyos/source/detail?r=302

Modified:
/trunk/src/kern/main.c

=======================================
--- /trunk/src/kern/main.c Mon Jan 17 22:07:34 2011
+++ /trunk/src/kern/main.c Sat Jan 22 13:44:43 2011
@@ -67,10 +67,9 @@
usetup();
printf("Finished usetup().\n");

- printf("Press Go to start or Stop to wait for RF.\n");
- if (!either_click())
- while (!rf_start)
- yield();
+ printf("Waiting for RF start, or press Go to start now.\n");
+ while (!rf_start && !go_press())
+ yield();

printf("Running umain()...\n");
return umain();

Reply all
Reply to author
Forward
0 new messages