mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Apply suggestions from code review to clean up wording and typos
This commit is contained in:
@@ -127,7 +127,7 @@ After powering on the device for the first time with _IronOS_ installed and havi
|
||||
- pressing the `+/A` button enters the _soldering mode_;
|
||||
- pressing the `-/B` button enters the _settings menu_;
|
||||
- in _soldering mode_:
|
||||
- short press of the `-/B` button changes the soldering temperature;
|
||||
- short press of `+/A` / `-/B` buttons changes the soldering temperature;
|
||||
- long press of the `+/A` button enables _boost mode_ (increasing soldering temperature to the adjustable setting as long as the button is pressed);
|
||||
- long press of the `-/B` button enters _standby mode_ and stops heating;
|
||||
- in _standby mode_:
|
||||
|
||||
@@ -117,7 +117,7 @@ typedef enum {
|
||||
DISABLED = 0, // All buttons are unlocked
|
||||
BOOST = 1, // All buttons except boost are locked
|
||||
FULL = 2, // All buttons are locked
|
||||
TEMP = 3, // All butons are unlocked except the boost button's temp change function.
|
||||
TEMP = 3, // All buttons are unlocked except the A/+ button's temp change function.
|
||||
} lockingMode_t;
|
||||
|
||||
/* Selection of the soldering tip
|
||||
|
||||
@@ -72,7 +72,7 @@ static const SettingConstants settingsConstants[(int)SettingsOptions::SettingsOp
|
||||
{ 0, 1, 1, DETAILED_SOLDERING}, // DetailedSoldering
|
||||
{ 0, (uint16_t)(HasFahrenheit ? 1 : 0), 1, TEMPERATURE_INF}, // TemperatureInF
|
||||
{ 0, 1, 1, DESCRIPTION_SCROLL_SPEED}, // DescriptionScrollSpeed
|
||||
{ 0, 3, 1, LOCKING_MODE}, // LockingMode
|
||||
{ 0, 2, 1, LOCKING_MODE}, // LockingMode
|
||||
{ 0, 99, 1, POWER_PULSE_DEFAULT}, // KeepAwakePulse
|
||||
{ 1, POWER_PULSE_WAIT_MAX, 1, POWER_PULSE_WAIT_DEFAULT}, // KeepAwakePulseWait
|
||||
{ 1, POWER_PULSE_DURATION_MAX, 1, POWER_PULSE_DURATION_DEFAULT}, // KeepAwakePulseDuration
|
||||
|
||||
@@ -39,7 +39,7 @@ OperatingMode handleSolderingButtons(const ButtonState buttons, guiContext *cxt)
|
||||
cxt->scratch_state.state2 = 1;
|
||||
break;
|
||||
}
|
||||
/*Fall throuhg*/
|
||||
/*Fall through*/
|
||||
default: // Set timer for and display a lock warning
|
||||
cxt->scratch_state.state7 = xTaskGetTickCount() + TICKS_SECOND;
|
||||
warnUser(translatedString(Tr->WarningKeysLockedString), buttons);
|
||||
|
||||
Reference in New Issue
Block a user