usb minor change

This commit is contained in:
NIIBE Yutaka
2013-11-12 13:05:57 +09:00
parent c7052ac6d2
commit 4b964d5f0c
4 changed files with 16 additions and 10 deletions

View File

@@ -5,6 +5,12 @@
#define NUM_STRING_DESC 7
#if defined(USB_SELF_POWERED)
#define USB_INITIAL_FEATURE 0xC0 /* bmAttributes: self powered */
#else
#define USB_INITIAL_FEATURE 0x80 /* bmAttributes: bus powered */
#endif
/* Control pipe */
/* EP0: 64-byte, 64-byte */
#define ENDP0_RXADDR (0x40)