examples/find-all: Use the new "find-all" option
authorUwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Tue, 5 Jul 2011 16:03:48 +0000 (18:03 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 8 Jul 2011 11:50:33 +0000 (13:50 +0200)
examples/find_all.c

index 5ad40be..113904c 100644 (file)
@@ -23,7 +23,7 @@ int main(void)
         return EXIT_FAILURE;
     }
 
-    if ((ret = ftdi_usb_find_all(&ftdic, &devlist, NULL, NULL)) < 0)
+    if ((ret = ftdi_usb_find_all(&ftdic, &devlist, 0, 0)) < 0)
     {
         fprintf(stderr, "ftdi_usb_find_all failed: %d (%s)\n", ret, ftdi_get_error_string(&ftdic));
         retval =  EXIT_FAILURE;