Browse Source

Failing to add_cgpu in bitfury should be a terminal failure.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
e05bfddc74
  1. 2
      driver-bitfury.c

2
driver-bitfury.c

@ -159,7 +159,7 @@ static bool bitfury_detect_one(struct libusb_device *dev, struct usb_find_device @@ -159,7 +159,7 @@ static bool bitfury_detect_one(struct libusb_device *dev, struct usb_find_device
bitfury_empty_buffer(bitfury);
if (!add_cgpu(bitfury))
goto out_close;
quit(1, "Failed to add_cgpu in bitfury_detect_one");
update_usb_stats(bitfury);
applog(LOG_INFO, "%s %d: Successfully initialised %s",

Loading…
Cancel
Save