mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
tools/lib/: aggressive polling for wait_for_interrupt, if timeout_ms = -1
This commit is contained in:
@@ -19,6 +19,14 @@
|
||||
|
||||
|
||||
void flush_interrupts(struct atrf_dsc *dsc);
|
||||
|
||||
/*
|
||||
* timeout_ms:
|
||||
* > 0: time out after that many milliseconds
|
||||
* == 0: wait forever
|
||||
* < 0: wait forever and eliminate poll delays (for high-speed capture)
|
||||
*/
|
||||
|
||||
uint8_t wait_for_interrupt(struct atrf_dsc *dsc, uint8_t wait_for,
|
||||
uint8_t ignore, int timeout_ms);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user