changeset 11:13903d8343a6 default tip

Catch up properly with settings change.
author Daniel O'Connor <darius@dons.net.au>
date Sun, 15 Feb 2015 22:33:40 +1030
parents 55ecb6bf1f2c
children
files datasheets/RELEYOUTPUT.JPG water.c
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file datasheets/RELEYOUTPUT.JPG has changed
--- a/water.c	Sun Feb 15 20:07:22 2015 +1030
+++ b/water.c	Sun Feb 15 22:33:40 2015 +1030
@@ -323,7 +323,7 @@
 		    printf_P(PSTR("Job %d (relays 0x%02x) running\r\n"), i, settings.jobs[i].relays);
 		    logged[i] = 1;
 		}
-		relays |= 1 << settings.jobs[i].relays;
+		relays |= settings.jobs[i].relays;
 		continue;
 	    }
 	}