Update Chopstx
This commit is contained in:
@@ -220,7 +220,7 @@ static eventmask_t display_status_code (void)
|
||||
if (icc_state == ICC_STATE_START)
|
||||
return emit_led (LED_TIMEOUT_ONE, LED_TIMEOUT_STOP);
|
||||
else
|
||||
/* GPGthread running */
|
||||
/* OpenPGP card thread running */
|
||||
{
|
||||
if ((m = emit_led ((auth_status & AC_ADMIN_AUTHORIZED)?
|
||||
LED_TIMEOUT_ONE : LED_TIMEOUT_ZERO,
|
||||
@@ -295,7 +295,7 @@ extern void *usb_intr (void *arg);
|
||||
static void gnuk_malloc_init (void);
|
||||
|
||||
|
||||
static uint32_t bDeviceState;
|
||||
extern uint32_t bDeviceState;
|
||||
|
||||
/*
|
||||
* Entry point.
|
||||
|
||||
@@ -520,8 +520,8 @@ cir_getchar (uint32_t timeout)
|
||||
if (notification == 0)
|
||||
return -1;
|
||||
|
||||
/* Sleep 100ms to avoid detecting chatter inputs. */
|
||||
chopstx_usec_wait (100 * 1000);
|
||||
/* Sleep 200ms to avoid detecting chatter inputs. */
|
||||
chopstx_usec_wait (200 * 1000);
|
||||
|
||||
#if defined(DEBUG_CIR)
|
||||
DEBUG_INFO ("****\r\n");
|
||||
|
||||
Reference in New Issue
Block a user