From 745a9716845b75d3b2bb0effecfa481ff83cf655 Mon Sep 17 00:00:00 2001 From: shufps Date: Fri, 13 Sep 2024 20:38:40 +0200 Subject: [PATCH] show mV without decimal places --- src/monitor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/monitor.cpp b/src/monitor.cpp index 3c1afbd..b0a613c 100644 --- a/src/monitor.cpp +++ b/src/monitor.cpp @@ -250,7 +250,7 @@ String getCurrentTemperature() { } String getCurrentVCore() { - return String(nerdnos_get_vcore(), 2); + return String(nerdnos_get_vcore(), 0); } #else String getCurrentHashRate(unsigned long mElapsed) @@ -263,7 +263,7 @@ String getCurrentTemperature() { } String getCurrentVCore() { - return String(0.0, 2); + return String(0.0, 0); } #endif