Mercurial > hg > index.cgi
diff src/lwwire.c @ 8:cf915ece9e48
Remove "week day" from the TIME response
The week day item in the TIME response is useless. Drivewire 4 doesn't
return it and since that is the most common Drivewire implementation, it
makes sense to conform to that definition.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 16 Jul 2016 18:56:01 -0600 |
parents | 422f5e8fff85 |
children | a11b330771e0 |
line wrap: on
line diff
--- a/src/lwwire.c Sat Jun 11 12:26:39 2016 -0600 +++ b/src/lwwire.c Sat Jul 16 18:56:01 2016 -0600 @@ -174,8 +174,7 @@ buf[3] = tmval -> tm_hour; buf[4] = tmval -> tm_min; buf[5] = tmval -> tm_sec; - buf[6] = tmval -> tm_wday; - lwwire_write(buf, 7); + lwwire_write(buf, 6); break; case 0x46: // PRINTFLUSH