fix for regnual

This commit is contained in:
NIIBE Yutaka
2013-11-18 14:07:47 +09:00
parent 4418ac3cab
commit fd15343bda
3 changed files with 15 additions and 2 deletions

View File

@@ -1307,7 +1307,7 @@ USBthread (void *arg)
return ccid_thread (thd);
}
static void *
static void * __attribute__ ((noinline))
ccid_thread (chopstx_t thd)
{
struct ep_in *epi = &endpoint_in;
@@ -1386,5 +1386,11 @@ ccid_thread (chopstx_t thd)
c->icc_state = icc_handle_timeout (c);
}
if (c->application)
{
chopstx_join (c->application, NULL);
c->application = 0;
}
return NULL;
}