Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: third_party/libusb/src/examples/dpfp_threaded.c

Issue 10332075: Adding use_system_libusb option for third_party/libusb (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review changes. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libusb/src/examples/dpfp.c ('k') | third_party/libusb/src/examples/lsusb.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libusb example program to manipulate U.are.U 4000B fingerprint scanner. 2 * libusb example program to manipulate U.are.U 4000B fingerprint scanner.
3 * Copyright (C) 2007 Daniel Drake <dsd@gentoo.org> 3 * Copyright (C) 2007 Daniel Drake <dsd@gentoo.org>
4 * 4 *
5 * Basic image capture program only, does not consider the powerup quirks or 5 * Basic image capture program only, does not consider the powerup quirks or
6 * the fact that image encryption may be enabled. Not expected to work 6 * the fact that image encryption may be enabled. Not expected to work
7 * flawlessly all of the time. 7 * flawlessly all of the time.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public 10 * modify it under the terms of the GNU Lesser General Public
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 set_mode(0); 536 set_mode(0);
537 set_hwstat(0x80); 537 set_hwstat(0x80);
538 out_release: 538 out_release:
539 libusb_release_interface(devh, 0); 539 libusb_release_interface(devh, 0);
540 out: 540 out:
541 libusb_close(devh); 541 libusb_close(devh);
542 libusb_exit(NULL); 542 libusb_exit(NULL);
543 return r >= 0 ? r : -r; 543 return r >= 0 ? r : -r;
544 } 544 }
545 545
OLDNEW
« no previous file with comments | « third_party/libusb/src/examples/dpfp.c ('k') | third_party/libusb/src/examples/lsusb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698