mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
pass event data to usb_acknowledge
add second argument to usb_acknowledge. it can be used for more appropriate connection tracking that does not rely on timeout in the future. Change-Id: I8a44366b7c7a1f944524c4ba8ecd6d9673746a65
This commit is contained in:
parent
d5506dfa22
commit
1951c17e0b
33 changed files with 54 additions and 46 deletions
|
|
@ -203,9 +203,9 @@ void usb_start_monitoring(void)
|
|||
{
|
||||
}
|
||||
|
||||
void usb_acknowledge(long id)
|
||||
void usb_acknowledge(long id, intptr_t seqnum)
|
||||
{
|
||||
queue_post(&sim_queue, id, 0);
|
||||
queue_post(&sim_queue, id, seqnum);
|
||||
}
|
||||
|
||||
void usb_wait_for_disconnect(struct event_queue *q)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue