[Firebug-cvs] fireboard/fireboard/apps/TestGPS testgpsM.nc,1.2,1.3
Brought to you by:
doolin
From: <do...@us...> - 2004-01-15 03:23:18
|
Update of /cvsroot/firebug/fireboard/fireboard/apps/TestGPS In directory sc8-pr-cvs1:/tmp/cvs-serv13751 Modified Files: testgpsM.nc Log Message: GPS application now waits until it has a fix before signaling a dataReady event. Index: testgpsM.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestGPS/testgpsM.nc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** testgpsM.nc 14 Jan 2004 15:22:54 -0000 1.2 --- testgpsM.nc 15 Jan 2004 03:23:15 -0000 1.3 *************** *** 39,42 **** --- 39,44 ---- call LeadTek.powerOn(); + // Loading programs doesn't work yet. + //call LeadTek.loadProgram((void*)gps_syncmode_off); return SUCCESS; } *************** *** 60,75 **** GPS_Msg * gps_data = (GPS_Msg*)userdata; ! for (i=0; i<=gps_data->data[0]; i++) { ! /** UARTPutChar is an SODebug function. ! * FIXME: Change this to use a char[]. ! */ UARTPutChar(gps_data->data[i]); } ! SODbg(DBG_USR2, "\n"); call Leds.greenToggle(); - //SODbg(DBG_USR2, "testgpsM.LeadTek.dataReady()...\n"); - //call LeadTek.powerOff(); --- 62,72 ---- GPS_Msg * gps_data = (GPS_Msg*)userdata; ! for (i=0; i<=gps_data->length; i++) { UARTPutChar(gps_data->data[i]); } ! SODbg(DBG_USR2, "\r\n"); call Leds.greenToggle(); //call LeadTek.powerOff(); |