mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Fix return values
This commit is contained in:
parent
cebd647f50
commit
8d2936730b
@ -290,6 +290,7 @@ static uint64_t bitforce_get_temp(struct cgpu_info *bitforce)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -329,6 +330,7 @@ static uint64_t bitforce_send_work(struct cgpu_info *bitforce, struct work *work
|
|||||||
applog(LOG_ERR, "BitForce block data reports: %s", pdevbuf);
|
applog(LOG_ERR, "BitForce block data reports: %s", pdevbuf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work)
|
static uint64_t bitforce_get_result(struct thr_info *thr, struct work *work)
|
||||||
|
Loading…
Reference in New Issue
Block a user