mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-03 10:35:03 +00:00
Changed API reporting of MH/s for added precision.
This commit is contained in:
parent
bc1ce6984b
commit
39b9945c11
2
api.c
2
api.c
@ -981,7 +981,7 @@ static struct api_data *print_data(struct api_data *root, char *buf, bool isjson
|
||||
case API_UTILITY:
|
||||
case API_FREQ:
|
||||
case API_MHS:
|
||||
sprintf(buf, "%.2f", *((double *)(root->data)));
|
||||
sprintf(buf, "%.4f", *((double *)(root->data)));
|
||||
break;
|
||||
case API_VOLTS:
|
||||
sprintf(buf, "%.3f", *((float *)(root->data)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user