Moved temperature position and removed the space in the print.

This commit is contained in:
yellows8 2019-09-17 11:46:20 -04:00
parent f9a1d8d35f
commit 8dc7bb6455
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -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);
}
}