equal
deleted
inserted
replaced
263 if (states & EC_SLAVE_STATE_OP) { |
263 if (states & EC_SLAVE_STATE_OP) { |
264 if (!first) off += sprintf(buffer + off, ", "); |
264 if (!first) off += sprintf(buffer + off, ", "); |
265 off += sprintf(buffer + off, "OP"); |
265 off += sprintf(buffer + off, "OP"); |
266 } |
266 } |
267 if (states & EC_SLAVE_STATE_ACK_ERR) { |
267 if (states & EC_SLAVE_STATE_ACK_ERR) { |
268 if (!first) off += sprintf(buffer + off, ", "); |
268 if (!first) off += sprintf(buffer + off, " + "); |
269 off += sprintf(buffer + off, "ERR"); |
269 off += sprintf(buffer + off, "ERROR"); |
270 } |
270 } |
271 |
271 |
272 return off; |
272 return off; |
273 } |
273 } |
274 |
274 |