mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Failing to add_cgpu in bitfury should be a terminal failure.
This commit is contained in:
parent
078f7f4739
commit
e05bfddc74
@ -159,7 +159,7 @@ static bool bitfury_detect_one(struct libusb_device *dev, struct usb_find_device
|
|||||||
bitfury_empty_buffer(bitfury);
|
bitfury_empty_buffer(bitfury);
|
||||||
|
|
||||||
if (!add_cgpu(bitfury))
|
if (!add_cgpu(bitfury))
|
||||||
goto out_close;
|
quit(1, "Failed to add_cgpu in bitfury_detect_one");
|
||||||
|
|
||||||
update_usb_stats(bitfury);
|
update_usb_stats(bitfury);
|
||||||
applog(LOG_INFO, "%s %d: Successfully initialised %s",
|
applog(LOG_INFO, "%s %d: Successfully initialised %s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user