Browse Source

Remove modified Bitburner avalon defaults - I was mistaken about maximum

stack size
nfactor-troky
Roy Badami 11 years ago
parent
commit
8795fbc2c6
  1. 5
      driver-avalon.c
  2. 5
      driver-avalon.h

5
driver-avalon.c

@ -801,11 +801,6 @@ static bool avalon_detect_one(libusb_device *dev, struct usb_find_devices *found @@ -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;

5
driver-avalon.h

@ -55,9 +55,8 @@ @@ -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…
Cancel
Save