Merge pull request #1657 from mariohackandglitch/master
rosalina: fix temperature display
This commit is contained in:
commit
689de1b9f0
@ -344,7 +344,7 @@ static void menuDraw(Menu *menu, u32 selected)
|
|||||||
|
|
||||||
char buf[32];
|
char buf[32];
|
||||||
int n = sprintf(
|
int n = sprintf(
|
||||||
buf, "%02hhu\xF8""C %lu.%02luV %lu.%lu%%", batteryTemperature, // CP437
|
buf, " %02hhu\xF8""C %lu.%02luV %lu.%lu%%", batteryTemperature, // CP437
|
||||||
voltageInt, voltageFrac,
|
voltageInt, voltageFrac,
|
||||||
percentageInt, percentageFrac
|
percentageInt, percentageFrac
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user