projects
/
openitg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f24008
)
git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@22 83fadc84-e282...
author
Mark Cannon
<vyhdycokio@gmail.com>
Wed, 13 Feb 2008 18:37:33 +0000
(18:37 +0000)
committer
Mark Cannon
<vyhdycokio@gmail.com>
Wed, 13 Feb 2008 18:37:33 +0000
(18:37 +0000)
src/io/USBDriver.cpp
patch
|
blob
|
history
diff --git
a/src/io/USBDriver.cpp
b/src/io/USBDriver.cpp
index
cdf35c7
..
5c2475d
100644
(file)
--- 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 )