added uptime back to log

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent 30818cfc87
commit e867afe587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1212,9 +1212,9 @@ void get_tlm_fox() {
FILE * uptime_file = fopen("/proc/uptime", "r");
fscanf(uptime_file, "%f", & uptime_sec);
uptime = (int) uptime_sec;
// #ifdef DEBUG_LOGGING
// printf("INFO: Reset Count: %d Uptime since Reset: %ld \n", reset_count, uptime);
// #endif
#ifdef DEBUG_LOGGING
printf("INFO: Reset Count: %d Uptime since Reset: %ld \n", reset_count, uptime);
#endif
fclose(uptime_file);
if (sim_mode) { // simulated telemetry

Loading…
Cancel
Save

Powered by TurnKey Linux.