mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
increasing max miners for avalon driver (properly this time)
This commit is contained in:
parent
b509e84376
commit
5af1cfe33d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user