Fix broken Endpoint/Pipe stream templates.

Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
This commit is contained in:
Dean Camera 2009-10-04 07:57:15 +00:00
parent db435c4995
commit 046fff2aff
4 changed files with 26 additions and 40 deletions

View file

@ -1,4 +1,4 @@
uint8_t TEMPLATE_FUNC_NAME (void* Buffer, uint16_t Length _CALLBACK_PARAM)
uint8_t TEMPLATE_FUNC_NAME (void* Buffer, uint16_t Length __CALLBACK_PARAM)
{
uint8_t* DataStream = (uint8_t*)(Buffer + TEMPLATE_BUFFER_OFFSET(Length));
uint8_t ErrorCode;