mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Style
This commit is contained in:
@@ -997,10 +997,8 @@ void startGUITask(void const *argument) {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
// If the boot logo is enabled (but it times out) and the autostart mode is enabled (but not set to sleep w/o heat), start heating during boot logo
|
// If the boot logo is enabled (but it times out) and the autostart mode is enabled (but not set to sleep w/o heat), start heating during boot logo
|
||||||
if (getSettingValue(SettingsOptions::LOGOTime) > 0 &&
|
if (getSettingValue(SettingsOptions::LOGOTime) > 0 && getSettingValue(SettingsOptions::LOGOTime) < 5 && getSettingValue(SettingsOptions::AutoStartMode) > 0
|
||||||
getSettingValue(SettingsOptions::LOGOTime) < 5 &&
|
&& getSettingValue(SettingsOptions::AutoStartMode) < 3) {
|
||||||
getSettingValue(SettingsOptions::AutoStartMode) > 0 &&
|
|
||||||
getSettingValue(SettingsOptions::AutoStartMode) < 3) {
|
|
||||||
uint16_t sleepTempDegC;
|
uint16_t sleepTempDegC;
|
||||||
if (getSettingValue(SettingsOptions::TemperatureInF)) {
|
if (getSettingValue(SettingsOptions::TemperatureInF)) {
|
||||||
sleepTempDegC = TipThermoModel::convertFtoC(getSettingValue(SettingsOptions::SleepTemp));
|
sleepTempDegC = TipThermoModel::convertFtoC(getSettingValue(SettingsOptions::SleepTemp));
|
||||||
@@ -1011,7 +1009,6 @@ void startGUITask(void const *argument) {
|
|||||||
currentTempTargetDegC = min(sleepTempDegC, 75);
|
currentTempTargetDegC = min(sleepTempDegC, 75);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BootLogo::handleShowingLogo((uint8_t *)FLASH_LOGOADDR);
|
BootLogo::handleShowingLogo((uint8_t *)FLASH_LOGOADDR);
|
||||||
|
|
||||||
showWarnings();
|
showWarnings();
|
||||||
|
|||||||
Reference in New Issue
Block a user