/demos/trunk/input/input.c |
---|
60,7 → 60,7 |
void my_sysend(KEY_EVT *e) |
{ |
sys_end(); |
exit(0); |
} |
void no_note(KEY_EVT *e) |
428,7 → 428,7 |
pid = task_create("Key_Print", my_getch, &mp, NULL); |
if (pid == NIL) { |
sys_shutdown_message("Could not create task <Key_Print>\n"); |
sys_end(); |
exit(1); |
} else |
task_activate(pid); |
442,7 → 442,7 |
pid = task_create("Joy_Print", my_getjoy, &mp, NULL); |
if (pid == NIL) { |
sys_shutdown_message("Could not create task <Joy_Print>\n"); |
sys_end(); |
exit(1); |
} else |
task_activate(pid); |
} |