for (uint8_t EPNum = 0; EPNum < ENDPOINT_TOTAL_ENDPOINTS; EPNum++)
{
Endpoint_SelectEndpoint(EPNum);
- UEIENX = 0;
- UEINTX = 0;
- Endpoint_DeallocateMemory();
+ UEIENX = 0;
+ UEINTX = 0;
+ UECFG1X = 0;
Endpoint_DisableEndpoint();
}
}
#if !defined(NO_STREAM_CALLBACKS)
, StreamCallbackPtr_t Callback
#endif
- )
+ )
{
uint8_t ErrorCode;