more regnual

This commit is contained in:
NIIBE Yutaka
2012-05-18 16:54:17 +09:00
parent 87d36deeb9
commit c723df0841
8 changed files with 71 additions and 39 deletions

View File

@@ -375,7 +375,7 @@ led_blink (int spec)
* See the hwinit1_common function.
*/
int
main (int argc, char **argv)
main (int argc, char *argv[])
{
int count = 0;
@@ -418,6 +418,9 @@ main (int argc, char **argv)
{
eventmask_t m;
if (icc_state_p != NULL && *icc_state_p == ICC_STATE_EXEC_REQUESTED)
break;
count++;
m = chEvtWaitOneTimeout (ALL_EVENTS, LED_TIMEOUT_INTERVAL);
switch (m)
@@ -469,6 +472,10 @@ main (int argc, char **argv)
#endif
}
usb_lld_shutdown ();
/* erase by mass erase */
/* set vector */
/* SYSRESETREQ to invoke regnual */
return 0;
}