Always enable ACKBTN support.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2018-11-12 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
|
* src/configure (ackbtn_support): Always yes.
|
||||||
|
* src/usb-ccid.c: Fix comma separator.
|
||||||
|
|
||||||
2018-11-09 NIIBE Yutaka <gniibe@fsij.org>
|
2018-11-09 NIIBE Yutaka <gniibe@fsij.org>
|
||||||
|
|
||||||
* tool/kdf_calc.py (kdf_calc): Use libgcrypt.so.20.
|
* tool/kdf_calc.py (kdf_calc): Use libgcrypt.so.20.
|
||||||
|
|||||||
2
chopstx
2
chopstx
Submodule chopstx updated: 1369361e59...39683dbc5f
3
src/configure
vendored
3
src/configure
vendored
@@ -44,7 +44,7 @@ pinpad=no
|
|||||||
certdo=no
|
certdo=no
|
||||||
hid_card_change=no
|
hid_card_change=no
|
||||||
factory_reset=no
|
factory_reset=no
|
||||||
ackbtn_support=no
|
ackbtn_support=yes
|
||||||
flash_override=""
|
flash_override=""
|
||||||
# For emulation
|
# For emulation
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
@@ -205,7 +205,6 @@ BLUE_PILL_G)
|
|||||||
;;
|
;;
|
||||||
FST_01SZ)
|
FST_01SZ)
|
||||||
MHZ=96
|
MHZ=96
|
||||||
ackbtn_support=yes
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -1714,9 +1714,9 @@ usb_event_handle (struct usb_dev *dev)
|
|||||||
static chopstx_poll_cond_t ccid_event_poll_desc;
|
static chopstx_poll_cond_t ccid_event_poll_desc;
|
||||||
static struct chx_poll_head *const ccid_poll[] = {
|
static struct chx_poll_head *const ccid_poll[] = {
|
||||||
(struct chx_poll_head *const)&usb_intr,
|
(struct chx_poll_head *const)&usb_intr,
|
||||||
(struct chx_poll_head *const)&ccid_event_poll_desc
|
(struct chx_poll_head *const)&ccid_event_poll_desc,
|
||||||
#ifdef ACKBTN_SUPPORT
|
#ifdef ACKBTN_SUPPORT
|
||||||
(struct chx_poll_head *const)&ack_intr,
|
(struct chx_poll_head *const)&ack_intr
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
#define CCID_POLL_NUM (sizeof (ccid_poll)/sizeof (struct chx_poll_head *))
|
#define CCID_POLL_NUM (sizeof (ccid_poll)/sizeof (struct chx_poll_head *))
|
||||||
|
|||||||
Reference in New Issue
Block a user