From c3efe48018b697d3817e1531cb864aa8294c4afd Mon Sep 17 00:00:00 2001 From: Hubert Denkmair Date: Sat, 2 Nov 2019 10:38:26 +0100 Subject: [PATCH] shink usb descriptor string buffer to save some RAM --- libs/STM32_USB_Device_Library/config/usbd_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/STM32_USB_Device_Library/config/usbd_conf.h b/libs/STM32_USB_Device_Library/config/usbd_conf.h index 20a74cb..7fff829 100644 --- a/libs/STM32_USB_Device_Library/config/usbd_conf.h +++ b/libs/STM32_USB_Device_Library/config/usbd_conf.h @@ -30,7 +30,7 @@ THE SOFTWARE. #define USBD_MAX_NUM_INTERFACES 1 #define USBD_MAX_NUM_CONFIGURATION 1 -#define USBD_MAX_STR_DESC_SIZ 512 +#define USBD_MAX_STR_DESC_SIZ 128 #define USBD_SUPPORT_USER_STRING_DESC 1 #define USBD_SELF_POWERED 0 #define DEVICE_FS 0