1
0
forked from me/IronOS

AutoStartMode refactoring (#1712)

* OperatingModes/Sleep: extend current mode with idle status

* OperatingModes/Sleep: tipTemp section refactoring

* source/Core - settings: tiny refactoring of AutoStartMode management

* OperatingModes/Sleep: rollback OperatingMode update
This commit is contained in:
Ivan Zorin
2023-06-17 10:07:26 +03:00
committed by GitHub
parent 5b1c273a78
commit c55a640d7f
3 changed files with 13 additions and 10 deletions

View File

@@ -78,6 +78,14 @@ typedef enum {
FAST = 3, //
MAX_VALUE = 4 //
} settingOffSpeed_t;
typedef enum {
NO = 0, // Disabled
SOLDER = 1, // Gain default soldering temp (Soldering Mode)
SLEEP = 2, // Gain default sleeping temp (Idle/Standby Mode)
ZERO = 3, // Power on only (No heat Mode)
} autoStartMode_t;
// Settings wide operations
void saveSettings();
bool loadSettings();