/demos/trunk/servo/load.c |
---|
38,7 → 38,7 |
servo_close(COM2); |
sys_end(); |
exit(0); |
return 0; |
/demos/trunk/servo/initfile.c |
---|
93,7 → 93,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"); |
sys_end(); |
exit(1); |
} |
} |
145,8 → 145,6 |
sys_shutdown_message("-- S.Ha.R.K. Closed --\n"); |
sys_abort_shutdown(0); |
return NULL; |
} |