fixes cooldown flashing (#1515)

* unify rate of cooldown flashing

* adjusted flashing threshold

* revert adjusted flashing threshold

* revert follow-up
This commit is contained in:
discip
2022-12-31 12:41:00 +01:00
committed by GitHub
parent 3e2da605ab
commit 1b84097e07

View File

@@ -186,7 +186,7 @@ void drawHomeScreen(bool buttonLockout) {
// If we have a tip connected draw the temp, if not we leave it blank
if (!tipDisconnectedDisplay) {
// draw in the temp
if (!(getSettingValue(SettingsOptions::CoolingTempBlink) && (xTaskGetTickCount() % 260 < 160)))
if (!(getSettingValue(SettingsOptions::CoolingTempBlink) && (xTaskGetTickCount() % 1000 < 300)))
gui_drawTipTemp(false, FontStyle::LARGE); // draw in the temp
} else {
// Draw in missing tip symbol
@@ -210,4 +210,4 @@ void drawHomeScreen(bool buttonLockout) {
GUIDelay();
}
}
}
}