aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordiscip <[email protected]>2024-08-05 22:46:20 +0200
committerGitHub <[email protected]>2024-08-05 22:46:20 +0200
commitc002f45c7ea649c8b73642420bd721b710820649 (patch)
treeba05d151a9f1de6154320c4d90418aa666bd8829
parent697b0c795d01098a526de40020fb320c82db02bb (diff)
downloadIronOS-c002f45c7ea649c8b73642420bd721b710820649.tar.gz
IronOS-c002f45c7ea649c8b73642420bd721b710820649.zip
making the LOCKED / UNLOCKED stay for a second
-rw-r--r--source/Core/Threads/UI/logic/Soldering.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Core/Threads/UI/logic/Soldering.cpp b/source/Core/Threads/UI/logic/Soldering.cpp
index e7559e73..53d44d1c 100644
--- a/source/Core/Threads/UI/logic/Soldering.cpp
+++ b/source/Core/Threads/UI/logic/Soldering.cpp
@@ -26,7 +26,7 @@ OperatingMode handleSolderingButtons(const ButtonState buttons, guiContext *cxt)
cxt->scratch_state.state1 = 1;
}
} else {
- warnUser(translatedString(Tr->WarningKeysLockedString), buttons);
+ vTaskDelay(TICKS_SECOND);
}
break;
case BUTTON_NONE:
@@ -76,6 +76,7 @@ OperatingMode handleSolderingButtons(const ButtonState buttons, guiContext *cxt)
} else {
// FIXME should be WarningKeysUnlockedString
warnUser(translatedString(Tr->UnlockingKeysString), buttons);
+ vTaskDelay(TICKS_SECOND);
}
}
break;