mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-23 23:11:58 -04:00
Remove compiler warnings.
This commit is contained in:
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…
Reference in a new issue