Browse Source

Remove modified Bitburner avalon defaults - I was mistaken about maximum
stack size

Roy Badami 12 years ago
parent
commit
8795fbc2c6
2 changed files with 2 additions and 8 deletions
  1. 0 5
      driver-avalon.c
  2. 2 3
      driver-avalon.h

+ 0 - 5
driver-avalon.c

@@ -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;

+ 2 - 3
driver-avalon.h

@@ -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