summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2008-03-15 16:35:12 +0000
committerDaniel Drake <dsd@gentoo.org>2008-03-20 21:19:45 +0000
commitead09cde6895df0034a685516987ce253575e9a7 (patch)
tree1bd334bd9a03c5d2a03a7b24ccc0647517605aca /examples
parent285724cc14ea5f993e2c4c92fe0aaf6c335bc139 (diff)
downloadlibusbx-ead09cde6895df0034a685516987ce253575e9a7.tar.gz
API documentation
Hopefully mostly complete. Some constants were renamed and move into enums.
Diffstat (limited to 'examples')
-rw-r--r--examples/dpfp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dpfp.c b/examples/dpfp.c
index 47d9fc6..5d50598 100644
--- a/examples/dpfp.c
+++ b/examples/dpfp.c
@@ -31,8 +31,8 @@
#define EP_INTR (1 | LIBUSB_ENDPOINT_IN)
#define EP_DATA (2 | LIBUSB_ENDPOINT_IN)
-#define CTRL_IN (LIBUSB_TYPE_VENDOR | LIBUSB_ENDPOINT_IN)
-#define CTRL_OUT (LIBUSB_TYPE_VENDOR | LIBUSB_ENDPOINT_OUT)
+#define CTRL_IN (LIBUSB_REQUEST_TYPE_VENDOR | LIBUSB_ENDPOINT_IN)
+#define CTRL_OUT (LIBUSB_REQUEST_TYPE_VENDOR | LIBUSB_ENDPOINT_OUT)
#define USB_RQ 0x04
#define INTR_LENGTH 64