mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-30 05:46:53 +08:00
Remove compiler warnings.
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user