mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
Added interrupt polling support for atusb.
- atrf/fw/include/atspi/ep0.h enum atspi_requests), atrf/fw/atspi/ep0.c (my_setup): new command ATSPI_POLL_INT to poll IRQ_RF - atrf/fw/atspi/ep0.c (my_setup): ATSPI_BUILD sent one byte too many - tools/lib/atusb.c (atusd_interrupt, atusb_driver): implemented interrupt polling - tools/lib/atusd.c: added section title for the RF interrupt function
This commit is contained in:
@@ -300,6 +300,9 @@ static int atusd_buf_read(void *handle, void *buf, int size)
|
||||
}
|
||||
|
||||
|
||||
/* ----- RF interrupt ------------------------------------------------------ */
|
||||
|
||||
|
||||
static int atusd_interrupt(void *handle)
|
||||
{
|
||||
struct atusd_dsc *dsc = handle;
|
||||
|
||||
Reference in New Issue
Block a user