|
|
|
@ -641,7 +641,7 @@ int main(int argc, char * argv[]) {
|
|
|
|
fscanf(uptime_file, "%f", & uptime_sec);
|
|
|
|
fscanf(uptime_file, "%f", & uptime_sec);
|
|
|
|
|
|
|
|
|
|
|
|
uptime = (int) (uptime_sec + 0.5);
|
|
|
|
uptime = (int) (uptime_sec + 0.5);
|
|
|
|
printf("Uptime sec: %f \n");
|
|
|
|
printf("Uptime sec: %f \n", uptime_sec);
|
|
|
|
#ifdef DEBUG_LOGGING
|
|
|
|
#ifdef DEBUG_LOGGING
|
|
|
|
printf("INFO: Reset Count: %d Uptime since Reset: %ld \n", reset_count, uptime);
|
|
|
|
printf("INFO: Reset Count: %d Uptime since Reset: %ld \n", reset_count, uptime);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|