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