532,7 → 532,7 |
|
} |
|
sys_end(); |
exit(1); |
} |
|
/*This task reads the data from the gps transmitter using the polling system. |
549,7 → 549,7 |
task_endcycle(); |
} |
|
sys_end(); |
exit(1); |
|
} |
|
556,7 → 556,7 |
//is called just before program ends |
void program_key_end(KEY_EVT *k) |
{ |
sys_end(); |
exit(1); |
} |
|
//is called when t key is pressed and changes the texture to be displayed on the sphere |
619,7 → 619,7 |
|
draw_PID = task_create("draw", draw, &ht_draw, NULL); |
if (draw_PID == -1) { |
sys_end(); |
exit(1); |
return 0; |
} |
|
633,7 → 633,7 |
|
gps_PID = task_create("gps", gps, &ht_gps, NULL); |
if (gps_PID == -1) { |
sys_end(); |
exit(1); |
return 0; |
} |
|