thermferm/thermferm.c

changeset 227
1cb55ea51f76
parent 223
14700edd2a67
child 233
5874a6480322
--- a/thermferm/thermferm.c	Wed Aug 13 14:10:57 2014 +0200
+++ b/thermferm/thermferm.c	Wed Aug 13 17:37:59 2014 +0200
@@ -798,10 +798,11 @@
 		if (minutes == 60)
 		    minutes = 0;
 
-		if ((minutes == 15) || (minutes == 45)) {
-		    syslog(LOG_NOTICE, "minutes %d seconds %d", minutes, seconds);
+		/*
+		 * Save the configuration each half hour.
+		 */
+		if ((minutes == 15) || (minutes == 45))
 		    wrconfig();
-		}
 	    }
 	}
 

mercurial