Update Chopstx
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2013-11-03 Niibe Yutaka <gniibe@fsij.org>
|
||||
|
||||
* chopstx: Update to 0.01.
|
||||
* src/pin-cir.c: Chatter fix to 200ms.
|
||||
* src/main.c: Fix bDeviceState.
|
||||
|
||||
2013-11-02 Niibe Yutaka <gniibe@fsij.org>
|
||||
|
||||
* src/usb_lld.h, src/usb_stm32f103.c (std_get_descriptor): Change
|
||||
|
||||
2
chopstx
2
chopstx
Submodule chopstx updated: 9fe6cefdc0...e957d1aff8
@@ -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