add gps_str to telem.txt

bp-new
alanbjohnston 5 years ago committed by GitHub
parent 0c73d81fb7
commit d41c487936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1067,7 +1067,7 @@ void get_tlm(void) {
char timeStampNoNl[31];
snprintf(timeStampNoNl, 30, "%.24s", ctime(&timeStamp));
printf("TimeStamp: %s\n", timeStampNoNl);
fprintf(telem_file, "%s %s\n", timeStampNoNl, sensor_payload); // write telemetry string to telem.txt file
fprintf(telem_file, "%s %s %s\n", timeStampNoNl, gps_str, sensor_payload); // write telemetry string to telem.txt file
fclose(telem_file);
}
if (lat_gps != 0.0) {

Loading…
Cancel
Save

Powered by TurnKey Linux.