From 4cd4d343373aa2d9d658312802fca4c1634d3fb1 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Mon, 16 Sep 2019 22:03:59 -0400 Subject: [PATCH] Changed the temperature format str from .3f to .1f. --- common/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/menu.c b/common/menu.c index 145425c..8d0ae10 100644 --- a/common/menu.c +++ b/common/menu.c @@ -517,7 +517,7 @@ u32 drawStatus() { if (statusGet(&netstatusFlag, &id, &temperatureFlag, &temperature)) { if (netstatusFlag) drawNetwork(tmpX, id); if (temperatureFlag) { - snprintf(tmpstr, sizeof(tmpstr)-1, "%.3f °C", ((float)temperature) / 1000); + snprintf(tmpstr, sizeof(tmpstr)-1, "%.1f °C", ((float)temperature) / 1000); u32 tmpX = GetTextXCoordinate(interuiregular14, 1180, tmpstr, 'r'); DrawText(interuiregular14, tmpX, 0 + 47 + 10 + 48, themeCurrent.textColor, tmpstr); }