ptyhon
Joined: 06 Jan 2010 Posts: 15
|
Posted: Mon May 23, 2011 4:14 pm Post subject: STK_THREAD reset my phone |
|
|
Hi,
Whenever I called this function stk_thread was called, my phone reset the sim. The following is my code. Did I miss out anything?
void dosomeaction (void *data)
{
poll_interval(DURATION_SEC, 20);
}
void turbo_handler (u8 action, void *data)
{
switch (action)
case ACTION_APP_INIT:
reg_action (ACTION_STATUS);
break;
case ACTION_STATUS:
stk_thread (dosomeaction, NULL);
break;
default:
break;
} |
|