Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1550 → Rev 1549

/demos/trunk/advtimer/advtimer.c
169,7 → 169,7
 
void program_key_end(KEY_EVT* e)
{
exit(1);
sys_end();
}
 
void up_freq(KEY_EVT* e)
/demos/trunk/advtimer/initfile.c
121,7 → 121,7
shutdown_task_PID = task_create("Shutdown Task",shutdown_task_body,&nrt,NULL);
if (shutdown_task_PID == NIL) {
sys_shutdown_message("Error: Cannot create shutdown task\n");
exit(1);
sys_end();
}
 
}
179,6 → 179,8
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}