diff options
author | Dmitry Filimonchuk <dmitrystu@gmail.com> | 2020-12-12 00:30:04 +0300 |
---|---|---|
committer | Dmitry Filimonchuk <dmitrystu@gmail.com> | 2020-12-12 00:30:42 +0300 |
commit | 5eb622d781a9dc4b2c9afe3290aaf383bc348d8c (patch) | |
tree | 3086906aa58ccedb8d319a66f1e66e78cf758721 | |
parent | 16c4279f8691f19480ab4486b00dbc980ae492a7 (diff) |
fix incorrect USBD_HW_ENUMSPEED
-rw-r--r-- | inc/usbd_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/usbd_core.h b/inc/usbd_core.h index 46b590d..7f065b3 100644 --- a/inc/usbd_core.h +++ b/inc/usbd_core.h @@ -72,7 +72,7 @@ #define USBD_HW_BC (1 << 1) /**<\brief Battery charging detection supported.*/ #define USND_HW_HS (1 << 2) /**<\brief High speed supported.*/ #define USBD_HW_ENABLED (1 << 3) /**<\brief USB device enabled. */ -#define USBD_HW_ENUMSPEED (2 << 4) /**<\brief USB device enumeration speed mask.*/ +#define USBD_HW_ENUMSPEED (3 << 4) /**<\brief USB device enumeration speed mask.*/ #define USBD_HW_SPEED_NC (0 << 4) /**<\brief Not connected */ #define USBD_HW_SPEED_LS (1 << 4) /**<\brief Low speed */ #define USBD_HW_SPEED_FS (2 << 4) /**<\brief Full speed */ |