Remove compiler warnings.

pull/4/head
Richard Barry 16 years ago
parent e9830a7ee3
commit 790bacc8f2

@ -46,6 +46,7 @@
*/ */
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "task.h"
#include "queue.h" #include "queue.h"
#include <stdio.h> #include <stdio.h>

@ -109,6 +109,7 @@ static void StallControlPipe(unsigned char bEPStat)
unsigned char *pb; unsigned char *pb;
int i; int i;
( void ) bEPStat;
USBHwEPStall(0x80, TRUE); USBHwEPStall(0x80, TRUE);
// dump setup packet // dump setup packet

@ -104,6 +104,7 @@ BOOL USBGetDescriptor(unsigned short wTypeIndex, unsigned short wLangID, int *pi
unsigned char *pab; unsigned char *pab;
int iCurIndex; int iCurIndex;
( void ) wLangID;
ASSERT(pabDescrip != NULL); ASSERT(pabDescrip != NULL);
bType = GET_DESC_TYPE(wTypeIndex); bType = GET_DESC_TYPE(wTypeIndex);

Loading…
Cancel
Save