mirror of https://github.com/noisymime/Arduino.git
remove useless variable
This commit is contained in:
parent
1aec25b855
commit
ec43b6c829
|
@ -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