aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2022-04-04 13:05:18 +1000
committerBen V. Brown <[email protected]>2022-04-04 13:07:48 +1000
commitd1d403376f796fbf3077e4752435be147ddb68a5 (patch)
treea2db9f217b229cdebe81b6f147e0d8ab65221bf3
parent943d6bf0bd85e6631cdb7b471893c1432f462866 (diff)
downloadIronOS-d1d403376f796fbf3077e4752435be147ddb68a5.tar.gz
IronOS-d1d403376f796fbf3077e4752435be147ddb68a5.zip
Fix typo in PD info screen
-rw-r--r--source/Core/Threads/GUIThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/Threads/GUIThread.cpp b/source/Core/Threads/GUIThread.cpp
index d53cd303..822b34b6 100644
--- a/source/Core/Threads/GUIThread.cpp
+++ b/source/Core/Threads/GUIThread.cpp
@@ -855,7 +855,7 @@ static void showPDDebug(void) {
OLED::print(SymbolSpace, FontStyle::SMALL);
OLED::printNumber(current_a_x100 / 100, 2, FontStyle::SMALL, true); // print the current in 0.1A res
OLED::print(SymbolDot, FontStyle::SMALL);
- OLED::printNumber(current_a_x100 % 10, 1, FontStyle::SMALL, true); // print the current in 0.1A res
+ OLED::printNumber(current_a_x100 % 100, 2, FontStyle::SMALL, true); // print the current in 0.1A res
OLED::print(SymbolAmps, FontStyle::SMALL);
} else {