Changed the temperature format str from .3f to .1f.
This commit is contained in:
parent
ebde1f4670
commit
4cd4d34337
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user