1
0
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:
Roy Badami 2013-10-24 22:45:51 +01:00
parent 5d6167700a
commit 8795fbc2c6
2 changed files with 2 additions and 8 deletions

View File

@ -801,11 +801,6 @@ static bool avalon_detect_one(libusb_device *dev, struct usb_find_devices *found
info->baud = AVALON_IO_SPEED; info->baud = AVALON_IO_SPEED;
info->asic_count = AVALON_DEFAULT_ASIC_NUM; info->asic_count = AVALON_DEFAULT_ASIC_NUM;
switch (usb_ident(avalon)) { 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: case IDENT_BBF:
info->miner_count = BITBURNER_FURY_DEFAULT_MINER_NUM; info->miner_count = BITBURNER_FURY_DEFAULT_MINER_NUM;
info->timeout = BITBURNER_FURY_DEFAULT_TIMEOUT; info->timeout = BITBURNER_FURY_DEFAULT_TIMEOUT;

View File

@ -55,9 +55,8 @@
#define AVALON_MAX_MINER_NUM 0x100 #define AVALON_MAX_MINER_NUM 0x100
#define AVALON_DEFAULT_ASIC_NUM 0xA #define AVALON_DEFAULT_ASIC_NUM 0xA
/* Default values for *_MINER_NUM are for a full stack of 8 boards, but they /* Default number of miners for Bitburner Fury is for a stack of 8 boards,
will work acceptably for smaller stacks, too */ but it will work acceptably for smaller stacks, too */
#define BITBURNER_XX_DEFAULT_MINER_NUM 16
#define BITBURNER_FURY_DEFAULT_MINER_NUM 128 #define BITBURNER_FURY_DEFAULT_MINER_NUM 128
#define BITBURNER_FURY_DEFAULT_FREQUENCY 256 #define BITBURNER_FURY_DEFAULT_FREQUENCY 256
#define BITBURNER_FURY_DEFAULT_TIMEOUT 50 #define BITBURNER_FURY_DEFAULT_TIMEOUT 50