ibmpc: Remove unused error code
This commit is contained in:
parent
44eb0da1a5
commit
b2edf39094
2 changed files with 1 additions and 3 deletions
|
|
@ -191,9 +191,8 @@ uint8_t IBMPCConverter::process_interface(void)
|
|||
* IBMPC_ERR_TIMEOUT Reinit
|
||||
* IBMPC_ERR_FULL Ignore
|
||||
* IBMPC_ERR_ILLEGAL Reinit
|
||||
* IBMPC_ERR_FF Ignore(not used)
|
||||
*/
|
||||
// when recv error, neither send error nor buffer full
|
||||
// send error and buffer full are ignored TODO: refactor
|
||||
if (!(ibmpc.error & (IBMPC_ERR_SEND | IBMPC_ERR_FULL))) {
|
||||
state = ERROR;
|
||||
if (ibmpc.error == IBMPC_ERR_PARITY_AA) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue