show mV without decimal places

This commit is contained in:
shufps 2024-09-13 20:38:40 +02:00
parent 8efa73b1ca
commit 745a971684
No known key found for this signature in database
GPG Key ID: 371CB8C24D8CB455

View File

@ -250,7 +250,7 @@ String getCurrentTemperature() {
} }
String getCurrentVCore() { String getCurrentVCore() {
return String(nerdnos_get_vcore(), 2); return String(nerdnos_get_vcore(), 0);
} }
#else #else
String getCurrentHashRate(unsigned long mElapsed) String getCurrentHashRate(unsigned long mElapsed)
@ -263,7 +263,7 @@ String getCurrentTemperature() {
} }
String getCurrentVCore() { String getCurrentVCore() {
return String(0.0, 2); return String(0.0, 0);
} }
#endif #endif