|
From: Rüdiger <ru...@us...> - 2006-04-26 19:19:31
|
Update of /cvsroot/jflight/jflight/app/src/jflight/gps/mlr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4726/app/src/jflight/gps/mlr Modified Files: MLRTrackData.java MLRWayPointData.java MLRFastRecordReceiver.java Log Message: cleanup of unused code ... Index: MLRFastRecordReceiver.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/gps/mlr/MLRFastRecordReceiver.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MLRFastRecordReceiver.java 25 Mar 2006 11:27:15 -0000 1.1 --- MLRFastRecordReceiver.java 26 Apr 2006 19:19:16 -0000 1.2 *************** *** 95,104 **** { byte[] buffer = null; - byte[] debutBuffer = null; if(dataReceived == true) return; - int byteRed = 0; - int sum = 0; - debutBuffer = this.findDebutRecord(); if(debutFound == true) --- 95,100 ---- Index: MLRWayPointData.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/gps/mlr/MLRWayPointData.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MLRWayPointData.java 25 Mar 2006 11:27:15 -0000 1.1 --- MLRWayPointData.java 26 Apr 2006 19:19:16 -0000 1.2 *************** *** 14,23 **** { private Vector wpData = null; ! private Gps gps = null; public MLRWayPointData(Vector wpData, Gps aGps) { super(); ! this.gps = aGps; this.wpData = wpData; } --- 14,23 ---- { private Vector wpData = null; ! //private Gps gps = null; public MLRWayPointData(Vector wpData, Gps aGps) { super(); ! //this.gps = aGps; this.wpData = wpData; } *************** *** 72,77 **** curWpt.name = nameBuf.toString(); - byte[] time = {wayPoints[6+offset], wayPoints[7+offset], wayPoints[8+offset], wayPoints[9+offset]}; - byte[] latti = {wayPoints[10+offset], wayPoints[11+offset], wayPoints[12+offset], wayPoints[13+offset]}; double lattiFloat = this.getPosition(latti); --- 72,75 ---- *************** *** 82,87 **** curWpt.setDlon(longiFloat); - byte[] altitude = {wayPoints[18+offset], wayPoints[19+offset], wayPoints[20+offset]}; - int altitudeInt = Integer.parseInt(hexString(altitude,3),16); offset +=recordLength; this.wpData.addElement(curWpt); --- 80,83 ---- Index: MLRTrackData.java =================================================================== RCS file: /cvsroot/jflight/jflight/app/src/jflight/gps/mlr/MLRTrackData.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MLRTrackData.java 25 Mar 2006 11:27:15 -0000 1.1 --- MLRTrackData.java 26 Apr 2006 19:19:16 -0000 1.2 *************** *** 72,77 **** Trk currentTrk = new Trk(); - byte[] nr = {tracks[0+offset], tracks[1+offset]}; - int nrInt = Integer.parseInt(hexString(nr,2),16); byte[] time = {tracks[2+offset], tracks[3+offset], tracks[4+offset], tracks[5+offset]}; --- 72,75 ---- |