IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2013-04-01 16:23:48 (10 years 11 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 3e749c31406c218668efb813853664ebe3e90304 |
Message: | fw/include/atusb/ep0.h: protect also USB_DIR_IN and USB_DIR_OUT They're currently not defined by libusb, but since the kernel has them, they may eventually also end up in user space. |
Files: |
atusb/fw/include/atusb/ep0.h (1 diff) |
Change Details
atusb/fw/include/atusb/ep0.h | ||
---|---|---|
46 | 46 | #define USB_TYPE_VENDOR 0x40 |
47 | 47 | #endif |
48 | 48 | |
49 | #ifndef USB_DIR_IN | |
49 | 50 | #define USB_DIR_IN 0x80 |
51 | #endif | |
52 | ||
53 | #ifndef USB_DIR_OUT | |
50 | 54 | #define USB_DIR_OUT 0x00 |
55 | #endif | |
51 | 56 | |
52 | 57 | #define ATUSB_FROM_DEV(req) (ATUSB_REQ_FROM_DEV | (req) << 8) |
53 | 58 | #define ATUSB_TO_DEV(req) (ATUSB_REQ_TO_DEV | (req) << 8) |