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

Side by Side Diff: third_party/libusb/src/examples/dpfp.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
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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 set_mode(0); 498 set_mode(0);
499 set_hwstat(0x80); 499 set_hwstat(0x80);
500 out_release: 500 out_release:
501 libusb_release_interface(devh, 0); 501 libusb_release_interface(devh, 0);
502 out: 502 out:
503 libusb_close(devh); 503 libusb_close(devh);
504 libusb_exit(NULL); 504 libusb_exit(NULL);
505 return r >= 0 ? r : -r; 505 return r >= 0 ? r : -r;
506 } 506 }
507 507
OLDNEW
« no previous file with comments | « third_party/libusb/src/examples/Makefile.am ('k') | third_party/libusb/src/examples/dpfp_threaded.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698