Browse Source

Bugfix: hashbuster2: Remove libusb init and debug level setting

Luke Dashjr 12 years ago
parent
commit
ac252159ac
1 changed files with 0 additions and 3 deletions
  1. 0 3
      driver-hashbuster2.c

+ 0 - 3
driver-hashbuster2.c

@@ -154,9 +154,6 @@ bool hashbuster2_lowl_probe(const struct lowlevel_device_info * const info)
 	if (info->vid != 0xFA04 || info->pid != 0x000D)
 	if (info->vid != 0xFA04 || info->pid != 0x000D)
 		applogr(false, LOG_WARNING, "%s: Wrong VID/PID", __func__);
 		applogr(false, LOG_WARNING, "%s: Wrong VID/PID", __func__);
 	
 	
-	libusb_init(NULL);
-	libusb_set_debug(NULL,3);
-	
 	libusb_device *dev = info->lowl_data;
 	libusb_device *dev = info->lowl_data;
 	libusb_open(dev, &h);
 	libusb_open(dev, &h);
 	libusb_set_configuration(h, 1);
 	libusb_set_configuration(h, 1);