master/module.c
changeset 453 2ecaa53c6291
parent 448 e4b76dc7910c
child 484 9fde4a17b820
equal deleted inserted replaced
452:d8ae13a5a910 453:2ecaa53c6291
   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