fix data type

This commit is contained in:
sakumisu
2022-07-03 10:31:18 +08:00
parent c3cc33281f
commit 0cf4331165
3 changed files with 3 additions and 3 deletions

View File

@@ -113,7 +113,7 @@ void usbd_cdc_acm_out(uint8_t ep)
uint32_t read_byte;
usbd_ep_read(ep, data, CDC_BULK_SIZE, &read_byte);
for (uint8_t i = 0; i < read_byte; i++) {
for (uint32_t i = 0; i < read_byte; i++) {
USB_LOG_RAW("%02x ", data[i]);
}
USB_LOG_RAW("\r\n");