Update chopstx to 1.1
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2016-07-01 NIIBE Yutaka <gniibe@fsij.org>
|
||||
|
||||
* chopstx: Update to 1.1.
|
||||
* src/usb-ccid.c (poll_event_intr, ccid_thread): Follow the
|
||||
change.
|
||||
|
||||
2016-06-21 Niibe Yutaka <gniibe@fsij.org>
|
||||
|
||||
* doc/index.rst: Update documentation by an example
|
||||
|
||||
2
chopstx
2
chopstx
Submodule chopstx updated: 40adf95c24...09f27704f5
@@ -1482,9 +1482,13 @@ static void
|
||||
poll_event_intr (uint32_t *timeout, struct eventflag *ev, chopstx_intr_t *intr)
|
||||
{
|
||||
chopstx_poll_cond_t poll_desc;
|
||||
struct chx_poll_head *pd_array[2] = {
|
||||
(struct chx_poll_head *)intr,
|
||||
(struct chx_poll_head *)&poll_desc
|
||||
};
|
||||
|
||||
eventflag_prepare_poll (ev, &poll_desc);
|
||||
chopstx_poll (timeout, 2, intr, &poll_desc);
|
||||
chopstx_poll (timeout, 2, pd_array);
|
||||
}
|
||||
|
||||
void *
|
||||
@@ -1646,7 +1650,7 @@ ccid_thread (void *arg)
|
||||
/* Loading reGNUal. */
|
||||
while (bDeviceState != UNCONNECTED)
|
||||
{
|
||||
chopstx_poll (NULL, 1, &interrupt);
|
||||
chopstx_intr_wait (&interrupt);
|
||||
usb_event_handle (&dev);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user