mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-31 00:44:19 +00:00
Remove modified Bitburner avalon defaults - I was mistaken about maximum
stack size
This commit is contained in:
parent
5d6167700a
commit
8795fbc2c6
@ -801,11 +801,6 @@ static bool avalon_detect_one(libusb_device *dev, struct usb_find_devices *found
|
||||
info->baud = AVALON_IO_SPEED;
|
||||
info->asic_count = AVALON_DEFAULT_ASIC_NUM;
|
||||
switch (usb_ident(avalon)) {
|
||||
case IDENT_BTB:
|
||||
info->miner_count = BITBURNER_XX_DEFAULT_MINER_NUM;
|
||||
info->timeout = AVALON_DEFAULT_TIMEOUT;
|
||||
info->frequency = AVALON_DEFAULT_FREQUENCY;
|
||||
break;
|
||||
case IDENT_BBF:
|
||||
info->miner_count = BITBURNER_FURY_DEFAULT_MINER_NUM;
|
||||
info->timeout = BITBURNER_FURY_DEFAULT_TIMEOUT;
|
||||
|
@ -55,9 +55,8 @@
|
||||
#define AVALON_MAX_MINER_NUM 0x100
|
||||
#define AVALON_DEFAULT_ASIC_NUM 0xA
|
||||
|
||||
/* Default values for *_MINER_NUM are for a full stack of 8 boards, but they
|
||||
will work acceptably for smaller stacks, too */
|
||||
#define BITBURNER_XX_DEFAULT_MINER_NUM 16
|
||||
/* Default number of miners for Bitburner Fury is for a stack of 8 boards,
|
||||
but it will work acceptably for smaller stacks, too */
|
||||
#define BITBURNER_FURY_DEFAULT_MINER_NUM 128
|
||||
#define BITBURNER_FURY_DEFAULT_FREQUENCY 256
|
||||
#define BITBURNER_FURY_DEFAULT_TIMEOUT 50
|
||||
|
Loading…
x
Reference in New Issue
Block a user