take some steps towards reducing memory footprint in stack buffers
This commit is contained in:
+1
-1
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user