mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +00:00
Small tweaks to freq reporting
This commit is contained in:
parent
608a520573
commit
57a2764eb5
@ -231,7 +231,7 @@ int libztex_setFreq (struct libztex_device *ztex, uint16_t freq) {
|
|||||||
return cnt;
|
return cnt;
|
||||||
}
|
}
|
||||||
ztex->freqM = freq;
|
ztex->freqM = freq;
|
||||||
applog(LOG_WARNING, "%s: Frequency change to %d Mhz", ztex->repr, ztex->freqM1 * (ztex->freqM + 1));
|
applog(LOG_WARNING, "%s: Frequency change to %0.2f Mhz", ztex->repr, ztex->freqM1 * (ztex->freqM + 1));
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
2
ztex.c
2
ztex.c
@ -280,7 +280,7 @@ static void ztex_statline_before(char *buf, struct cgpu_info *cgpu)
|
|||||||
{
|
{
|
||||||
if (cgpu->deven == DEV_ENABLED) {
|
if (cgpu->deven == DEV_ENABLED) {
|
||||||
tailsprintf(buf, "%s | ", cgpu->device->snString);
|
tailsprintf(buf, "%s | ", cgpu->device->snString);
|
||||||
tailsprintf(buf, "%dMhz | ", cgpu->device->freqM1 * (cgpu->device->freqM + 1));
|
tailsprintf(buf, "%0.2fMhz | ", cgpu->device->freqM1 * (cgpu->device->freqM + 1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user