Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1550 → Rev 1549

/demos/trunk/cpufreq/initfile.c
120,7 → 120,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();
}
 
}
178,6 → 178,8
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}
/demos/trunk/cpufreq/cpufreq.c
39,7 → 39,7
 
void endfunc(KEY_EVT *e)
{
exit(0);
sys_end();
}
 
int main(int argc, char **argv)