Update Chopstx

This commit is contained in:
NIIBE Yutaka
2013-11-03 13:01:38 +09:00
parent 1be80272d7
commit b936e4bac6
4 changed files with 11 additions and 5 deletions

View File

@@ -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.

View File

@@ -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");