fix struct name due to copy error

This commit is contained in:
sakumisu
2022-02-14 14:57:20 +08:00
parent 2f086a4ec3
commit 739d83a8a9
2 changed files with 7 additions and 7 deletions

View File

@@ -172,7 +172,7 @@ USB_NOCACHE_RAM_SECTION uint8_t cdc_buffer[4096];
void usbh_cdc_acm_callback(void *arg, int nbytes)
{
struct usbh_hub *cdc_acm_class = (struct usbh_hub *)arg;
struct usbh_cdc_acm *cdc_acm_class = (struct usbh_cdc_acm *)arg;
if (nbytes > 0) {
for (size_t i = 0; i < nbytes; i++) {