mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Inverted logic.
This commit is contained in:
parent
b6b1abb5d9
commit
0a82b255eb
@ -619,7 +619,7 @@ static void avalon_update_temps(struct cgpu_info *avalon, struct avalon_info *in
|
|||||||
static void avalon_parse_results(struct cgpu_info *avalon, struct avalon_info *info,
|
static void avalon_parse_results(struct cgpu_info *avalon, struct avalon_info *info,
|
||||||
struct thr_info *thr, char *buf, int *offset)
|
struct thr_info *thr, char *buf, int *offset)
|
||||||
{
|
{
|
||||||
int i, spare = AVALON_READ_SIZE - *offset;
|
int i, spare = *offset - AVALON_READ_SIZE;
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
||||||
for (i = 0; i <= spare; i++) {
|
for (i = 0; i <= spare; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user