Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1649 → Rev 1650

/advdemos/trunk/gpsmesa/gpsmesa.c
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;
}
 
/advdemos/trunk/gpsmesa/initfile.c
122,7 → 122,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);
}
 
}
149,7 → 149,7
cprintf("Error: Cannot open graphical mode\n");
KEYB26_close();
INPUT26_close();
sys_end();
exit(1);
}
FB26_use_grx(FRAME_BUFFER_DEVICE);
193,8 → 193,6
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}