Mercurial > ~darius > hgwebdir.cgi > sprink
diff water.c @ 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 | c32b5792683a |
children |
line wrap: on
line diff
--- 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; } }