aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/usbd_conf.h
diff options
context:
space:
mode:
authorDamien George2018-02-01 12:46:37 +1100
committerDamien George2018-02-01 12:46:37 +1100
commit583472e06892832edc395a65096b28cd08f90764 (patch)
treefd95dd12de075fc68884a7e2dd295b039b1fe80d /ports/stm32/usbd_conf.h
parent1d4246a2e8caa52f8381f405bfb37ba24b4246e7 (diff)
stm32/usbdev: Combine all str descriptor accessor funcs into one func.
There's no need to have these as separate functions, they just take up unnecessary code space and combining them allows to factor common code, and also allows to support arbitrary string descriptor indices.
Diffstat (limited to 'ports/stm32/usbd_conf.h')
-rw-r--r--ports/stm32/usbd_conf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ports/stm32/usbd_conf.h b/ports/stm32/usbd_conf.h
index b066bb2b8..5fa3c513d 100644
--- a/ports/stm32/usbd_conf.h
+++ b/ports/stm32/usbd_conf.h
@@ -44,7 +44,6 @@
#define USBD_MAX_NUM_INTERFACES 1
#define USBD_MAX_NUM_CONFIGURATION 1
#define USBD_MAX_STR_DESC_SIZ 0x100
-#define USBD_SUPPORT_USER_STRING 0
#define USBD_SELF_POWERED 0
#define USBD_DEBUG_LEVEL 0