Skip to content
Permalink
Browse files

usb: Fix automatic assignment endpoints

Fix endpoints are not assigned correctly.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information...
finikorg authored and carlescufi committed Apr 30, 2019
1 parent c77e142 commit 3183c103b9d019117694c2938f6cf03f40188cff
Showing with 2 additions and 2 deletions.
  1. +2 −2 subsys/usb/usb_descriptor.h
@@ -34,8 +34,8 @@
#define USB_STRING_DESCRIPTOR_LENGTH(s) (sizeof(s) * 2)

/* Automatic endpoint assignment */
#define AUTO_EP_IN 0x81
#define AUTO_EP_OUT 0x01
#define AUTO_EP_IN 0x80
#define AUTO_EP_OUT 0x00

/* Common part of device data */
struct usb_dev_data {

0 comments on commit 3183c10

Please sign in to comment.
You can’t perform that action at this time.