mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-04-21 12:27:27 +03:00
tools/: API change - atrf_open now requires a string argument (can be NULL)
atrf_open(NULL) maintains the old behaviour. To select a driver, use
atrf_open("name") or atrf_open("name:driver-specific-arguments")
The driver name is "ben" or "usb".
- include/atrf.h (atrf_open), lib/atrf.c (do_atrf_open, atrf_open):
atrf_open now requires the string argument for driver selection
- atrf-id/atrf-id.c (main), atrf-reset/atrf-reset.c (main),
atrf-rssi/atrf-rssi.c (main), atrf-trim/atrf-trim.c (main),
atrf-txrx/atrf-txrx.c (main), atrf-xtal/atrf-xtal.c (main):
changed atrf_open() to atrf_open(NULL)
This commit is contained in:
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
|
||||
|
||||
signal(SIGINT, die);
|
||||
|
||||
dsc = atrf_open();
|
||||
dsc = atrf_open(NULL);
|
||||
if (!dsc)
|
||||
return 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user