mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Inital work on boost mode
This commit is contained in:
@@ -41,7 +41,7 @@ void ProcessUI() {
|
||||
break;
|
||||
case SOLDERING:
|
||||
//We need to check the buttons if we need to jump out
|
||||
if (Buttons == BUT_A || Buttons == BUT_B) {
|
||||
if ((Buttons == BUT_A && !systemSettings.boostModeEnabled)|| Buttons == BUT_B) {
|
||||
//A or B key pressed so we are moving to temp set
|
||||
operatingMode = TEMP_ADJ;
|
||||
} else if (Buttons == (BUT_A | BUT_B)) {
|
||||
@@ -49,7 +49,12 @@ void ProcessUI() {
|
||||
//Both buttons were pressed, exit back to the cooling screen
|
||||
operatingMode = COOLING;
|
||||
|
||||
} else {
|
||||
}
|
||||
else if (Buttons == BUT_A && systemSettings.boostModeEnabled)
|
||||
{
|
||||
|
||||
}
|
||||
else {
|
||||
//We need to check the timer for movement in case we need to goto idle
|
||||
if (systemSettings.movementEnabled)
|
||||
if (millis() - getLastMovement()
|
||||
|
||||
@@ -53,8 +53,8 @@ void resetSettings() {
|
||||
systemSettings.tempCalibration=239; //Default to their calibration value
|
||||
systemSettings.voltageDiv=144; //Default divider from schematic
|
||||
systemSettings.ShutdownTime=30; //How many minutes until the unit turns itself off
|
||||
systemSettings.displayUpdateSpeed=0; //How fast the LCD updates
|
||||
systemSettings.displayUpdateSpeed=1; //How fast the LCD updates
|
||||
systemSettings.temperatureRounding=0; //How the temperature is rounded off
|
||||
|
||||
systemSettings.boostModeEnabled=0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user