From 8dc7bb6455cc40aabc84f6f2e3fc30341a5638f8 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Tue, 17 Sep 2019 11:46:20 -0400 Subject: [PATCH] Moved temperature position and removed the space in the print. --- common/menu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/common/menu.c b/common/menu.c index 8d0ae10..c745e64 100644 --- a/common/menu.c +++ b/common/menu.c @@ -517,9 +517,8 @@ u32 drawStatus() { if (statusGet(&netstatusFlag, &id, &temperatureFlag, &temperature)) { if (netstatusFlag) drawNetwork(tmpX, id); if (temperatureFlag) { - 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); + snprintf(tmpstr, sizeof(tmpstr)-1, "%.1f°C", ((float)temperature) / 1000); + DrawText(interuiregular14, 1180 + 4, 0 + 47 + 10 + + 21 + 6, themeCurrent.textColor, tmpstr); } }