alanbjohnston 5 years ago committed by GitHub
parent 84f7be02cb
commit 673fb264a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -958,7 +958,7 @@ void get_tlm(void) {
telem_file = fopen("/home/pi/CubeSatSim/telem.txt", "r");
time_t timeStamp;
time(&timeStamp); // get timestamp
printf("Timestamp: %s\n", ctime(&timeStamp);
printf("Timestamp: %s\n", ctime(&timeStamp));
fprintf(telem_file, "%s %s\n", ctime(&timeStamp), sensor_payload); // write telemetry string to telem.txt file
fclose(telem_file);

Loading…
Cancel
Save

Powered by TurnKey Linux.