kopia lustrzana https://github.com/Hamlib/Hamlib
usb_set_configuration() is mandatory for the setup on Windows
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2987 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.13
rodzic
e8f76c4628
commit
886542c461
|
@ -189,7 +189,7 @@ int usb_port_open(hamlib_port_t *port)
|
||||||
usb_detach_kernel_driver_np(udh, port->parm.usb.iface);
|
usb_detach_kernel_driver_np(udh, port->parm.usb.iface);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
#ifdef _WIN32
|
||||||
if (usb_set_configuration (udh, port->parm.usb.conf) < 0){
|
if (usb_set_configuration (udh, port->parm.usb.conf) < 0){
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: usb_set_configuration: failed conf %d: %s\n",
|
rig_debug(RIG_DEBUG_ERR, "%s: usb_set_configuration: failed conf %d: %s\n",
|
||||||
__func__,port->parm.usb.conf, usb_strerror());
|
__func__,port->parm.usb.conf, usb_strerror());
|
||||||
|
|
Ładowanie…
Reference in New Issue