diff options
author | Ivan Zorin <[email protected]> | 2024-07-24 15:14:06 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-24 22:14:06 +1000 |
commit | 95eb154c4456f1f68dd8484c0ef8b0b1712de3e3 (patch) | |
tree | b88e65f96268f2d69e9fb59d0df785c9f92ee23b /source/Core/Src/settingsGUI.cpp | |
parent | d9c88c9e71a6040c24f87a760f17eebaed090953 (diff) | |
download | IronOS-95eb154c4456f1f68dd8484c0ef8b0b1712de3e3.tar.gz IronOS-95eb154c4456f1f68dd8484c0ef8b0b1712de3e3.zip |
Add enum for modes of locking buttons (#1955)
* Add enum for modes of locking buttons
* Update description for FULL value
Diffstat (limited to 'source/Core/Src/settingsGUI.cpp')
-rw-r--r-- | source/Core/Src/settingsGUI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Core/Src/settingsGUI.cpp b/source/Core/Src/settingsGUI.cpp index 7265e2ba..1a9d4373 100644 --- a/source/Core/Src/settingsGUI.cpp +++ b/source/Core/Src/settingsGUI.cpp @@ -611,13 +611,13 @@ static void displayTempChangeLongStep(void) { OLED::printNumber(getSettingValue( static void displayLockingMode(void) { switch (getSettingValue(SettingsOptions::LockingMode)) { - case 0: + case lockingMode_t::DISABLED: OLED::drawUnavailableIcon(); break; - case 1: + case lockingMode_t::BOOST: OLED::print(translatedString(Tr->SettingLockBoostChar), FontStyle::LARGE); break; - case 2: + case lockingMode_t::FULL: OLED::print(translatedString(Tr->SettingLockFullChar), FontStyle::LARGE); break; default: |