shithub: lwext4

Download patch

ref: 660796003c2fb1cc29e1f1da3a4ff8b3463fe205
parent: 0a123dfadb99f0f34c392e8643fde8f69f69d11a
author: gkostka <kostka.grzegorz@gmail.com>
date: Mon Sep 21 20:13:45 EDT 2015

Remove stupid STM code

--- a/demos/stm32f429_disco/stm/usb_host/Core/src/usbh_core.c
+++ b/demos/stm32f429_disco/stm/usb_host/Core/src/usbh_core.c
@@ -276,10 +276,6 @@
   pif = (USBH_InterfaceDescTypeDef *)0;
   pcfg = &phost->device.CfgDesc;  
   
-  if((pif->bInterfaceClass == 0xFF) &&(pif->bInterfaceSubClass == 0xFF) && (pif->bInterfaceProtocol == 0xFF))
-  {
-    return 0xFF;
-  }
   
   while (if_ix < USBH_MAX_NUM_INTERFACES)
   {