Fix compile bug when acknowledgement button is disabled
This commit is contained in:
@@ -1929,6 +1929,7 @@ ccid_thread (void *arg)
|
||||
}
|
||||
else /* Timeout */
|
||||
{
|
||||
#ifdef ACKBTN_SUPPORT
|
||||
if (c->timeout_cnt == 7
|
||||
&& c->ccid_state == CCID_STATE_ACK_REQUIRED_1)
|
||||
{
|
||||
@@ -1940,6 +1941,7 @@ ccid_thread (void *arg)
|
||||
goto exec_done;
|
||||
}
|
||||
else
|
||||
#endif
|
||||
c->ccid_state = ccid_handle_timeout (c);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user