equal
deleted
inserted
replaced
275 EC_SLAVE_DBG(fsm->slave, 0, "checking SII read state:\n"); |
275 EC_SLAVE_DBG(fsm->slave, 0, "checking SII read state:\n"); |
276 ec_print_data(datagram->data, 10); |
276 ec_print_data(datagram->data, 10); |
277 #endif |
277 #endif |
278 |
278 |
279 if (EC_READ_U8(datagram->data + 1) & 0x20) { |
279 if (EC_READ_U8(datagram->data + 1) & 0x20) { |
280 EC_SLAVE_ERR(fsm->slave, "SII: Error on last SII command!\n"); |
280 EC_SLAVE_ERR(fsm->slave, "Error on last command while" |
|
281 " reading from SII word 0x%04x.\n", fsm->word_offset); |
281 fsm->state = ec_fsm_sii_state_error; |
282 fsm->state = ec_fsm_sii_state_error; |
282 return; |
283 return; |
283 } |
284 } |
284 |
285 |
285 // check "busy bit" |
286 // check "busy bit" |