thermferm/thermferm.c

changeset 275
a86c702c2e4f
parent 274
111b0e9663dc
child 276
a19cc3770f09
equal deleted inserted replaced
274:111b0e9663dc 275:a86c702c2e4f
1168 if (debug) 1168 if (debug)
1169 fprintf(stdout, " %s %02d:%02d\n", valid_step ? "TRUE":"FALSE", minutes, seconds); 1169 fprintf(stdout, " %s %02d:%02d\n", valid_step ? "TRUE":"FALSE", minutes, seconds);
1170 1170
1171 if (valid_step == TRUE) { 1171 if (valid_step == TRUE) {
1172 if (((minutes == 15) || (minutes == 45)) && (seconds == 1)) { 1172 if (((minutes == 15) || (minutes == 45)) && (seconds == 1)) {
1173 syslog(LOG_NOTICE, "Profile `%s' running %02d:%02d in step %d, target %.3f degrees", 1173 syslog(LOG_NOTICE, "Profile `%s' running %dd %02d:%02d in step %d, target %.3f degrees",
1174 profile->name, run_hours, run_minutes % 60, current_step, unit->prof_target); 1174 profile->name, run_hours / 24, run_hours % 24, run_minutes % 60, current_step, unit->prof_target);
1175 } 1175 }
1176 } else { 1176 } else {
1177 /* 1177 /*
1178 * No more steps to do 1178 * No more steps to do
1179 */ 1179 */

mercurial