Skip to content

Commit b041571

Browse files
committed
Correct capitalization of metric units
We should be going from kilowatts to megawatts, not milliwatts. All units above 'k' should be capital letters.
1 parent a7109bd commit b041571

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lcd.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,10 +624,10 @@ void LcdTask::displayScaledNumberValue(int line, const char *name, double value,
624624
static const char *mod[] = {
625625
"",
626626
"k",
627-
"m",
628-
"g",
629-
"t",
630-
"p"
627+
"M",
628+
"G",
629+
"T",
630+
"P"
631631
};
632632

633633
int index = 0;

0 commit comments

Comments
 (0)