aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2019-12-31 22:59:04 +1100
committerBen V. Brown <[email protected]>2019-12-31 22:59:04 +1100
commit0d713ae257477594018edb8d9d0dffb602d0fdfb (patch)
treef3940202eb31d23fea11fc634c4be5d9ea310ab3
parent26bf31ae642a6b1f44f481a65fcb446e7494393b (diff)
downloadIronOS-0d713ae257477594018edb8d9d0dffb602d0fdfb.tar.gz
IronOS-0d713ae257477594018edb8d9d0dffb602d0fdfb.zip
Dont suppress zeros
-rw-r--r--workspace/TS100/Core/Src/gui.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/workspace/TS100/Core/Src/gui.cpp b/workspace/TS100/Core/Src/gui.cpp
index 382f469a..00b6617a 100644
--- a/workspace/TS100/Core/Src/gui.cpp
+++ b/workspace/TS100/Core/Src/gui.cpp
@@ -96,14 +96,14 @@ static void settings_enterAdvancedMenu(void);
*
*/
const menuitem rootSettingsMenu[] {
-/*
- * Power Source
- * Soldering Menu
- * Power Saving Menu
- * UI Menu
- * Advanced Menu
- * Exit
- */
+ /*
+ * Power Source
+ * Soldering Menu
+ * Power Saving Menu
+ * UI Menu
+ * Advanced Menu
+ * Exit
+ */
#ifdef MODEL_TS100
{ (const char*) SettingsDescriptions[0], { settings_setInputVRange }, {
settings_displayInputVRange } }, /*Voltage input*/
@@ -418,7 +418,7 @@ static void settings_setSensitivity(void) {
static void settings_displaySensitivity(void) {
printShortDescription(4, 7);
- OLED::printNumber(systemSettings.sensitivity, 1);
+ OLED::printNumber(systemSettings.sensitivity, 1, false);
}
static void settings_setAdvancedSolderingScreens(void) {
@@ -613,7 +613,7 @@ static void settings_setCalibrateVIN(void) {
2);
OLED::print(SymbolDot);
OLED::printNumber(getInputVoltageX10(systemSettings.voltageDiv, 0) % 10,
- 1);
+ 1, false);
OLED::print(SymbolVolts);
ButtonState buttons = getButtonState();