[Firebug-cvs] fireboard/fireboard/apps/TestGPS testgps.nc,1.2,1.3 testgpsM.nc,1.6,1.7
Brought to you by:
doolin
From: David M. D. <do...@us...> - 2004-03-26 00:55:42
|
Update of /cvsroot/firebug/fireboard/fireboard/apps/TestGPS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18150/TestGPS Modified Files: testgps.nc testgpsM.nc Log Message: Updated test applications for HLSensor. Index: testgps.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestGPS/testgps.nc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** testgps.nc 14 Jan 2004 17:20:28 -0000 1.2 --- testgps.nc 26 Mar 2004 00:44:33 -0000 1.3 *************** *** 30,34 **** testgpsM.Leds -> LedsC; ! testgpsM.LeadTek -> gps_driver.Sensor; } --- 30,34 ---- testgpsM.Leds -> LedsC; ! testgpsM.LeadTek -> gps_driver.HLSensor; } Index: testgpsM.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestGPS/testgpsM.nc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** testgpsM.nc 3 Feb 2004 18:58:06 -0000 1.6 --- testgpsM.nc 26 Mar 2004 00:44:33 -0000 1.7 *************** *** 1,5 **** - /* -*- Mode: C; c-basic-indent: 3; indent-tabs-mode: nil -*- */ - - /** * Parts of this code were written or modified for FireBug project --- 1,2 ---- *************** *** 19,23 **** interface Leds; ! interface Sensor as LeadTek; } } --- 16,20 ---- interface Leds; ! interface HLSensor as LeadTek; } } *************** *** 39,47 **** command result_t StdControl.start() { ! call LeadTek.powerOn(); // Loading programs doesn't work yet. //call LeadTek.loadProgram((void*)gps_test); ! call LeadTek.loadProgram((uint8_t*)gps_syncmode_off); #if 0 --- 36,44 ---- command result_t StdControl.start() { ! call LeadTek.powerOn(LEADTEK_POWER_ON); // Loading programs doesn't work yet. //call LeadTek.loadProgram((void*)gps_test); ! call LeadTek.loadProgram((uint8_t*)vtg_disable); #if 0 *************** *** 69,73 **** ! #define RAW_DATA 0 event result_t LeadTek.dataReady(void * userdata) { --- 66,70 ---- ! #define RAW_DATA 1 event result_t LeadTek.dataReady(void * userdata) { |