equal
deleted
inserted
replaced
188 |
188 |
189 ec_request_state_t ecrt_voe_handler_execute(ec_voe_handler_t *voe) |
189 ec_request_state_t ecrt_voe_handler_execute(ec_voe_handler_t *voe) |
190 { |
190 { |
191 if (voe->config->slave) { // FIXME locking? |
191 if (voe->config->slave) { // FIXME locking? |
192 voe->state(voe); |
192 voe->state(voe); |
193 if (voe->request_state == EC_INT_REQUEST_BUSY) |
193 if (voe->request_state == EC_INT_REQUEST_BUSY) { |
194 ec_master_queue_datagram(voe->config->master, &voe->datagram); |
194 ec_master_queue_datagram(voe->config->master, &voe->datagram); |
|
195 } |
195 } else { |
196 } else { |
196 voe->state = ec_voe_handler_state_error; |
197 voe->state = ec_voe_handler_state_error; |
197 voe->request_state = EC_INT_REQUEST_FAILURE; |
198 voe->request_state = EC_INT_REQUEST_FAILURE; |
198 } |
199 } |
199 |
200 |