comparison 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
comparison
equal deleted inserted replaced
7:2e382e1a173e 8:cf915ece9e48
172 buf[1] = tmval -> tm_mon; 172 buf[1] = tmval -> tm_mon;
173 buf[2] = tmval -> tm_mday; 173 buf[2] = tmval -> tm_mday;
174 buf[3] = tmval -> tm_hour; 174 buf[3] = tmval -> tm_hour;
175 buf[4] = tmval -> tm_min; 175 buf[4] = tmval -> tm_min;
176 buf[5] = tmval -> tm_sec; 176 buf[5] = tmval -> tm_sec;
177 buf[6] = tmval -> tm_wday; 177 lwwire_write(buf, 6);
178 lwwire_write(buf, 7);
179 break; 178 break;
180 179
181 case 0x46: // PRINTFLUSH 180 case 0x46: // PRINTFLUSH
182 // no printer is supported by this implemention so NO-OP 181 // no printer is supported by this implemention so NO-OP
183 break; 182 break;