From 20bd4fa7c6001a5a1faf7d6a7cacbae9fd6d96f7 Mon Sep 17 00:00:00 2001 From: Mark Cannon Date: Wed, 13 Feb 2008 18:37:33 +0000 Subject: [PATCH] git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@22 83fadc84-e282-4d84-a09a-c4228d6ae7e5 --- src/io/USBDriver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.11.0