1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Inverted logic.

This commit is contained in:
Con Kolivas 2013-05-26 01:25:43 +10:00
parent b6b1abb5d9
commit 0a82b255eb

View File

@ -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,
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;
for (i = 0; i <= spare; i++) {