mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Only show ztex board count if any exist.
This commit is contained in:
parent
68a3a9ad10
commit
ae400b4f09
@ -63,7 +63,8 @@ static void ztex_detect(void)
|
||||
struct cgpu_info *ztex;
|
||||
|
||||
cnt = libztex_scanDevices(&ztex_devices);
|
||||
applog(LOG_WARNING, "Found %d ztex board(s)", cnt);
|
||||
if (cnt > 0)
|
||||
applog(LOG_WARNING, "Found %d ztex board%s", cnt, cnt > 1 ? "s" : "");
|
||||
|
||||
for (i = 0; i < cnt; i++) {
|
||||
ztex = calloc(1, sizeof(struct cgpu_info));
|
||||
|
Loading…
Reference in New Issue
Block a user