From ead09cde6895df0034a685516987ce253575e9a7 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Sat, 15 Mar 2008 16:35:12 +0000 Subject: API documentation Hopefully mostly complete. Some constants were renamed and move into enums. --- examples/dpfp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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 -- cgit v1.2.1