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:
Tue Sep 05 12:46:47 2017 +0000
Parent:
9:591580af98be
Commit message:
Hepta Camera&GPS

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	Mon Sep 04 16:27:45 2017 +0000
+++ b/HeptaCamera_GPS.cpp	Tue Sep 05 12:46:47 2017 +0000
@@ -772,7 +772,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};
@@ -861,6 +861,4 @@
         height[2] = hei2[0];
         height[3] = hei2[1];
     }
-    *dsize1 = 8;
-    *dsize2 = 4;
 }
--- a/HeptaCamera_GPS.h	Mon Sep 04 16:27:45 2017 +0000
+++ b/HeptaCamera_GPS.h	Tue Sep 05 12:46:47 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;