Modules/USB - Disabled debug in core.c
[tpg/acess2.git] / KernelLand / Modules / USB / Core / usb_poll.c
index a32e08e..5a93269 100644 (file)
@@ -81,7 +81,8 @@ int USB_PollThread(void *unused)
                // Check hosts
                for( tUSBHost *host = gUSB_Hosts; host; host = host->Next )
                {
-                       host->HostDef->CheckPorts(host->Ptr);
+                       if( host->HostDef->CheckPorts )
+                               host->HostDef->CheckPorts(host->Ptr);
                }
 
                Time_Delay(100);

UCC git Repository :: git.ucc.asn.au