From f0fa2719400e5d776140170db1c7265a99418063 Mon Sep 17 00:00:00 2001 From: neon12345 <784389+neon12345@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:28:57 +0200 Subject: [PATCH] Update Soldering.cpp move comment --- source/Core/Threads/UI/logic/Soldering.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Core/Threads/UI/logic/Soldering.cpp b/source/Core/Threads/UI/logic/Soldering.cpp index a0e883130..f4406c91c 100644 --- a/source/Core/Threads/UI/logic/Soldering.cpp +++ b/source/Core/Threads/UI/logic/Soldering.cpp @@ -8,8 +8,9 @@ OperatingMode handleSolderingButtons(const ButtonState buttons, guiContext *cxt) { if (cxt->scratch_state.state1 >= 2) { + // Buttons are currently locked switch (buttons) { - case BUTTON_F_LONG: // Buttons are currently locked + case BUTTON_F_LONG: if (getSettingValue(SettingsOptions::BoostTemp) && (getSettingValue(SettingsOptions::LockingMode) == lockingMode_t::BOOST)) { cxt->scratch_state.state2 = 1; }