Commit 8795fbc2c608494035cc8cd8bc3160751e9fb427

Roy Badami 2013-10-24T22:45:51

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

diff --git a/driver-avalon.c b/driver-avalon.c
index 98897fb..75cd06e 100644
--- a/driver-avalon.c
+++ b/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;
diff --git a/driver-avalon.h b/driver-avalon.h
index 1e985db..063fb68 100644
--- a/driver-avalon.h
+++ b/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