mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Update Soldering.cpp
move comment
This commit is contained in:
@@ -8,8 +8,9 @@
|
|||||||
|
|
||||||
OperatingMode handleSolderingButtons(const ButtonState buttons, guiContext *cxt) {
|
OperatingMode handleSolderingButtons(const ButtonState buttons, guiContext *cxt) {
|
||||||
if (cxt->scratch_state.state1 >= 2) {
|
if (cxt->scratch_state.state1 >= 2) {
|
||||||
|
// Buttons are currently locked
|
||||||
switch (buttons) {
|
switch (buttons) {
|
||||||
case BUTTON_F_LONG: // Buttons are currently locked
|
case BUTTON_F_LONG:
|
||||||
if (getSettingValue(SettingsOptions::BoostTemp) && (getSettingValue(SettingsOptions::LockingMode) == lockingMode_t::BOOST)) {
|
if (getSettingValue(SettingsOptions::BoostTemp) && (getSettingValue(SettingsOptions::LockingMode) == lockingMode_t::BOOST)) {
|
||||||
cxt->scratch_state.state2 = 1;
|
cxt->scratch_state.state2 = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user