mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
tools/: add timeout_ms argument to atrf_rx
This commit is contained in:
@@ -299,7 +299,7 @@ static void receive_hmac(struct atrf_dsc *dsc)
|
||||
int n, i;
|
||||
|
||||
atrf_rx_mode(dsc, 1);
|
||||
n = atrf_rx(dsc, buf, sizeof(buf), &lqi);
|
||||
n = atrf_rx(dsc, buf, sizeof(buf), 0, &lqi);
|
||||
atrf_rx_mode(dsc, 0);
|
||||
|
||||
if (n < 2) {
|
||||
|
||||
Reference in New Issue
Block a user