/demos/trunk/base/initgraph.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"); |
sys_end(); |
exit(0); |
} |
} |
147,7 → 147,7 |
cprintf("Error: Cannot open graphical mode\n"); |
KEYB26_close(); |
INPUT26_close(); |
sys_end(); |
exit(0); |
} |
FB26_use_grx(FRAME_BUFFER_DEVICE); |
191,8 → 191,6 |
sys_shutdown_message("-- S.Ha.R.K. Closed --\n"); |
sys_abort_shutdown(0); |
return NULL; |
} |