Commit 35e8d184 authored by Damien George's avatar Damien George

shared/tinyusb: Increase default string descr max length to 40 chars.

When defining custom USB devices, longer strings may be needed.  Eventually
the memory for string descriptors can be allocated on demand, but for now
this bigger value should be reasonable.
Signed-off-by: default avatarDamien George <damien@micropython.org>
parent 0f16ae92
......@@ -104,7 +104,7 @@
#define USBD_MAX_POWER_MA (250)
#ifndef MICROPY_HW_USB_DESC_STR_MAX
#define MICROPY_HW_USB_DESC_STR_MAX (20)
#define MICROPY_HW_USB_DESC_STR_MAX (40)
#endif
#if CFG_TUD_CDC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment