Mercurial > ~darius > hgwebdir.cgi > sprink
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:55ecb6bf1f2c | 11:13903d8343a6 |
---|---|
321 if (now > settings.jobs[i].start) { | 321 if (now > settings.jobs[i].start) { |
322 if (logged[i] == 0) { | 322 if (logged[i] == 0) { |
323 printf_P(PSTR("Job %d (relays 0x%02x) running\r\n"), i, settings.jobs[i].relays); | 323 printf_P(PSTR("Job %d (relays 0x%02x) running\r\n"), i, settings.jobs[i].relays); |
324 logged[i] = 1; | 324 logged[i] = 1; |
325 } | 325 } |
326 relays |= 1 << settings.jobs[i].relays; | 326 relays |= settings.jobs[i].relays; |
327 continue; | 327 continue; |
328 } | 328 } |
329 } | 329 } |
330 } | 330 } |
331 | 331 |