From 5af1cfe33d8b14a60420c0435fd26ac7fa4b7c4c Mon Sep 17 00:00:00 2001 From: Chris Chua Date: Tue, 8 Oct 2013 02:57:11 +1100 Subject: [PATCH] increasing max miners for avalon driver (properly this time) --- driver-avalon.c | 2 +- driver-avalon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver-avalon.c b/driver-avalon.c index 6245dc02..09e6dfa2 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -469,7 +469,7 @@ static bool get_options(int this_option_offset, int *baud, int *miner_count, } else { quit(1, "Invalid avalon-options for " "miner_count (%s) must be 1 ~ %d", - colon, AVALON_DEFAULT_MINER_NUM); + colon, AVALON_MAX_MINER_NUM); } } diff --git a/driver-avalon.h b/driver-avalon.h index 7e11e6cf..e506388e 100644 --- a/driver-avalon.h +++ b/driver-avalon.h @@ -130,7 +130,7 @@ struct avalon_info { int core_voltage; int no_matching_work; - int matching_work[AVALON_DEFAULT_MINER_NUM]; + int matching_work[AVALON_MAX_MINER_NUM]; int frequency; uint32_t ctlr_ver;