comparison: thermferm/thermferm.c
thermferm/thermferm.c
- changeset 174
- 244de612c572
- parent 167
- 56b008563db8
- child 175
- b73490398368
equal
deleted
inserted
replaced
383 |
383 |
384 minutes++; |
384 minutes++; |
385 if (minutes == 60) |
385 if (minutes == 60) |
386 minutes = 0; |
386 minutes = 0; |
387 |
387 |
388 if ((minutes == 15) || (minutes == 45)) |
388 if ((minutes == 15) || (minutes == 45)) { |
|
389 syslog(LOG_NOTICE, "minutes %d seconds %d", minutes, seconds); |
389 wrconfig(); |
390 wrconfig(); |
|
391 } |
390 } |
392 } |
391 } |
393 } |
392 usleep(100000); |
394 usleep(100000); |
393 |
395 |
394 } while (run); |
396 } while (run); |