mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-08 20:22:11 +00:00
Use blank_get_statline_before for GPU devices that don't support adl monitoring.
This commit is contained in:
parent
2c3c9e5b55
commit
5d581cb5d7
@ -6370,7 +6370,7 @@ static void noop_reinit_device(struct cgpu_info __maybe_unused *cgpu)
|
||||
{
|
||||
}
|
||||
|
||||
static void blank_get_statline_before(char *buf, struct cgpu_info __maybe_unused *cgpu)
|
||||
void blank_get_statline_before(char *buf, struct cgpu_info __maybe_unused *cgpu)
|
||||
{
|
||||
tailsprintf(buf, " | ");
|
||||
}
|
||||
|
@ -1287,7 +1287,8 @@ static void get_opencl_statline_before(char *buf, struct cgpu_info *gpu)
|
||||
else
|
||||
tailsprintf(buf, " ");
|
||||
tailsprintf(buf, "| ");
|
||||
}
|
||||
} else
|
||||
gpu->drv->get_statline_before = &blank_get_statline_before;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user