[Firebug-cvs] fireboard/fireboard/sensorboards/xbow_mts420ca fireboardsensorM.nc,1.2,1.3
Brought to you by:
doolin
From: <do...@pr...> - 2004-01-28 22:48:31
|
Update of /cvsroot/firebug/fireboard/fireboard/sensorboards/xbow_mts420ca In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19299/sensorboards/xbow_mts420ca Modified Files: fireboardsensorM.nc Log Message: Fixed string extraction code for gga messages, It was attempting to stuff floats into shorts. Thats a nogo. Index: fireboardsensorM.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/fireboard/sensorboards/xbow_mts420ca/fireboardsensorM.nc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** fireboardsensorM.nc 22 Jan 2004 00:40:06 -0000 1.2 --- fireboardsensorM.nc 28 Jan 2004 22:39:59 -0000 1.3 *************** *** 161,165 **** } ! event result_t SHT11.error(uint16_t error_code) {return SUCCESS;} event result_t SHT11.dataReady(void * userdata) { --- 161,165 ---- } ! async event result_t SHT11.error(uint16_t error_code) {return SUCCESS;} event result_t SHT11.dataReady(void * userdata) { *************** *** 198,202 **** } ! event result_t Intersema5534AP.error(uint16_t error_code) {return SUCCESS;} event result_t Intersema5534AP.dataReady(void * userdata) { --- 198,202 ---- } ! async event result_t Intersema5534AP.error(uint16_t error_code) {return SUCCESS;} event result_t Intersema5534AP.dataReady(void * userdata) { *************** *** 236,240 **** } ! event result_t LeadTek9546.error(uint16_t error_code) {return SUCCESS;} event result_t LeadTek9546.dataReady(void * userdata) { --- 236,240 ---- } ! async event result_t LeadTek9546.error(uint16_t error_code) {return SUCCESS;} event result_t LeadTek9546.dataReady(void * userdata) { *************** *** 254,257 **** --- 254,272 ---- //call Leds.greenToggle(); + // Use this if writing to serial port instead of leadtek + // monitor software. + #if 0 + SODbg(DBG_USR2, "=================================================\n"); + SODbg(DBG_USR2, "DataCollectM.GPS.dataReady()\n"); + SODbg(DBG_USR2, "Hours: %i\n",(int)(10*gga_msg->hours)); + SODbg(DBG_USR2, "Minutes: %i\n",(int)(10*gga_msg->minutes)); + SODbg(DBG_USR2, "Decimal seconds: %i\n",(int)(10*gga_msg->dec_sec)); + SODbg(DBG_USR2, "Latitude degrees: %i\n",(int)(10*gga_msg->Lat_deg)); + SODbg(DBG_USR2, "Latitude decimal minutes: %i\n",(int)(10*gga_msg->Lat_dec_min)); + SODbg(DBG_USR2, "Longitude degrees: %i\n",(int)(10*gga_msg->Long_deg)); + SODbg(DBG_USR2, "Longitude decimal minutes: %i\n",(int)(10*gga_msg->Long_dec_min)); + SODbg(DBG_USR2, "NSEWind: %i\n",(int)(10*gga_msg->NSEWind)); + SODbg(DBG_USR2, "=================================================\n"); + #endif //SODbg(DBG_USR2, "fireboardsensor.LeadTek.dataReady()\n"); *************** *** 276,280 **** } ! event result_t TAOS.error(uint16_t error_code) {return SUCCESS;} event result_t TAOS.dataReady(void * userdata) { --- 291,295 ---- } ! async event result_t TAOS.error(uint16_t error_code) {return SUCCESS;} event result_t TAOS.dataReady(void * userdata) { |