Skip to content

Commit

Permalink
Update Soldering.cpp
Browse files Browse the repository at this point in the history
move comment
  • Loading branch information
neon12345 authored Jul 31, 2024
1 parent 616db16 commit f0fa271
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/Core/Threads/UI/logic/Soldering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f0fa271

Please sign in to comment.