remove useless variable
This commit is contained in:
parent
d3815e7e36
commit
15edf1c6c8
|
@ -446,11 +446,10 @@ int USB_RecvControl(void* d, int len)
|
||||||
|
|
||||||
int SendInterfaces()
|
int SendInterfaces()
|
||||||
{
|
{
|
||||||
int total = 0;
|
|
||||||
u8 interfaces = 0;
|
u8 interfaces = 0;
|
||||||
|
|
||||||
#ifdef CDC_ENABLED
|
#ifdef CDC_ENABLED
|
||||||
total = CDC_GetInterface(&interfaces);
|
CDC_GetInterface(&interfaces);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef PLUGGABLE_USB_ENABLED
|
#ifdef PLUGGABLE_USB_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue