working now

This commit is contained in:
NIIBE Yutaka
2011-12-12 18:12:43 +09:00
parent f58233aa5d
commit 5a9194d136
6 changed files with 75 additions and 20 deletions

View File

@@ -386,12 +386,17 @@ main (int argc, char **argv)
chThdCreateStatic (waUSBthread, sizeof(waUSBthread),
NORMALPRIO, USBthread, NULL);
#ifdef PINPAD_DND_SUPPORT
msc_init ();
#endif
while (1)
{
eventmask_t m;
count++;
m = chEvtWaitOneTimeout (ALL_EVENTS, LED_TIMEOUT_INTERVAL);
continue;
switch (m)
{
case LED_STATUS_MODE: