take some steps towards reducing memory footprint in stack buffers

This commit is contained in:
2018-01-13 20:51:09 +01:00
parent d49081b190
commit 7280338f8b
12 changed files with 83 additions and 18 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ uint8_t * USBD_FS_ManufacturerStrDescriptor( USBD_SpeedTypeDef speed , uint16_t
*/
uint8_t * USBD_FS_SerialStrDescriptor( USBD_SpeedTypeDef speed , uint16_t *length)
{
char buff[25];
char buff[26];
fixup_sprintf(buff, "%08"PRIX32"-%08"PRIX32"-%08"PRIX32,
LL_GetUID_Word0(),
LL_GetUID_Word1(),