EEPROM and USB CDC

This commit is contained in:
2024-09-11 00:32:41 +03:00
parent beb5ed6be3
commit 419c55d807
8 changed files with 336 additions and 225 deletions

View File

@ -286,6 +286,7 @@ uint8_t CDC_Transmit_FS(uint8_t* Buf, uint16_t Len)
}
USBD_CDC_SetTxBuffer(&hUsbDeviceFS, Buf, Len);
result = USBD_CDC_TransmitPacket(&hUsbDeviceFS);
while(hcdc->TxState != 0);
/* USER CODE END 7 */
return result;
}