dont reference not-enabled ccid
This commit is contained in:
parent
3ba9b671fc
commit
8bf1921263
@ -123,9 +123,11 @@ void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum)
|
|||||||
case HID_EPOUT_ADDR:
|
case HID_EPOUT_ADDR:
|
||||||
usb_hid_recieve_callback(epnum);
|
usb_hid_recieve_callback(epnum);
|
||||||
break;
|
break;
|
||||||
|
#ifdef ENABLE_CCID
|
||||||
case CCID_OUT_EP:
|
case CCID_OUT_EP:
|
||||||
usb_ccid_recieve_callback((USBD_HandleTypeDef*)hpcd->pData, epnum);
|
usb_ccid_recieve_callback((USBD_HandleTypeDef*)hpcd->pData, epnum);
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user