From: Mark Cannon Date: Wed, 13 Feb 2008 18:37:33 +0000 (+0000) Subject: git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@22 83fadc84-e282... X-Git-Url: http://cameron1729.xyz/?a=commitdiff_plain;h=20bd4fa7c6001a5a1faf7d6a7cacbae9fd6d96f7;p=openitg.git git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@22 83fadc84-e282-4d84-a09a-c4228d6ae7e5 --- diff --git a/src/io/USBDriver.cpp b/src/io/USBDriver.cpp index cdf35c78..5c2475d1 100644 --- a/src/io/USBDriver.cpp +++ b/src/io/USBDriver.cpp @@ -82,14 +82,14 @@ bool USBDriver::Open() // set the device struct usb_device *device = FindDevice( usb_busses ); - LOG->Trace( "device set." ); - if( device == NULL ) { LOG->Warn( "USBDriver: could not set usb_device" ); return false; } + LOG->Trace( "device set." ); + m_pHandle = usb_open( device ); if( m_pHandle == NULL )