Skip to content

Commit cf24646

Browse files
Fix unused variable warning
1 parent f369e7c commit cf24646

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

usbh_midi.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,18 +263,12 @@ void USBH_MIDI::parseConfigDescr( uint8_t addr, uint8_t conf )
263263
return;
264264
}
265265

266-
#ifdef DEBUG_USB_HOST
267-
uint8_t bNumInt;
268-
#endif
269266
//parsing descriptors
270267
while( buf_ptr < buf + total_length ) {
271268
descr_length = *( buf_ptr );
272269
descr_type = *( buf_ptr + 1 );
273270
switch( descr_type ) {
274271
case USB_DESCRIPTOR_CONFIGURATION :
275-
#ifdef DEBUG_USB_HOST
276-
bNumInt = buf_ptr[4];
277-
#endif
278272
bConfNum = buf_ptr[5];
279273
break;
280274
case USB_DESCRIPTOR_INTERFACE :

0 commit comments

Comments
 (0)