Ivan Stoev / HeptaCamera_GPS

Dependents:   3daf572bcae1 Team Team01_HEPTA_Trainig

Fork of HeptaCamera_GPS by HEPTA-Sat Training 2017~2018

Files at this revision

API Documentation at this revision

Comitter:
HEPTA
Date:
Wed Sep 06 06:14:02 2017 +0000
Parent:
12:b298905009c9
Commit message:
Hepta Camera & GPS libarary

Changed in this revision

HeptaCamera_GPS.cpp Show annotated file Show diff for this revision Revisions of this file
HeptaCamera_GPS.h Show annotated file Show diff for this revision Revisions of this file
--- a/HeptaCamera_GPS.cpp	Wed Sep 06 06:07:39 2017 +0000
+++ b/HeptaCamera_GPS.cpp	Wed Sep 06 06:14:02 2017 +0000
@@ -774,7 +774,7 @@
     }
 }
 
-void HeptaCamera_GPS::lat_log_sensing_u16(char *lat, char *log, char *height, int *dsize1, int *dsize2)
+void HeptaCamera_GPS::lat_log_sensing_u16(char *lat, char *log, char *height)
 {
     char gph1[8]= {0x00},gph2[8]= {0x00},gph3[8]= {0x00},gph4[8]= {0x00},gpt1[8]= {0x00},gpt2[8]= {0x00},gpt3[8]= {0x00},gpt4[8]= {0x00};
     char hei1[8]= {0x00},hei2[8]= {0x00};
@@ -863,6 +863,6 @@
         height[2] = hei2[0];
         height[3] = hei2[1];
     }
-    *dsize1 = 8;
-    *dsize2 = 4;
+    //*dsize1 = 8;
+    //*dsize2 = 4;
 }
--- a/HeptaCamera_GPS.h	Wed Sep 06 06:07:39 2017 +0000
+++ b/HeptaCamera_GPS.h	Wed Sep 06 06:14:02 2017 +0000
@@ -59,7 +59,7 @@
     int  readable();
     void flushSerialBuffer(void);
     void gga_sensing(float *time, float *latitude, char *ns, float *longitude, char *ew, int *quality, int *stnum, float *hacu, float *altitude, char *aunit, int *gps_check);
-    void lat_log_sensing_u16(char *lat, char *log, char * height, int *dsize1, int *dsize2);
+    void lat_log_sensing_u16(char *lat, char *log, char * height);
 
 private:
     SerialBuffered serial;