diff options
author | Ben V. Brown <[email protected]> | 2017-09-27 11:41:37 +1000 |
---|---|---|
committer | Ben V. Brown <[email protected]> | 2017-09-27 11:41:37 +1000 |
commit | 77204f306eb1f5b82378cc02544587dd73f6c345 (patch) | |
tree | 53a44f5ff059f52ea3facd11e5892be8fe9453fb | |
parent | 82a5ed042da274d62484445ddac4011e2b552979 (diff) | |
download | IronOS-77204f306eb1f5b82378cc02544587dd73f6c345.tar.gz IronOS-77204f306eb1f5b82378cc02544587dd73f6c345.zip |
Update readme, cleanup files
-rw-r--r-- | workspace/TS100/inc/gui.h (renamed from workspace/TS100/src/gui.h) | 0 | ||||
-rw-r--r-- | workspace/TS100/src/Settings.cpp | 2 | ||||
-rw-r--r-- | workspace/TS100/src/gui.cpp | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/workspace/TS100/src/gui.h b/workspace/TS100/inc/gui.h index 9cf93dff..9cf93dff 100644 --- a/workspace/TS100/src/gui.h +++ b/workspace/TS100/inc/gui.h diff --git a/workspace/TS100/src/Settings.cpp b/workspace/TS100/src/Settings.cpp index 004b2a2b..659a7889 100644 --- a/workspace/TS100/src/Settings.cpp +++ b/workspace/TS100/src/Settings.cpp @@ -82,7 +82,7 @@ void resetSettings() { systemSettings.sensitivity = 8; //Default high sensitivity systemSettings.voltageDiv = 144; //Default divider from schematic systemSettings.ShutdownTime = 30; //How many minutes until the unit turns itself off - systemSettings.boostModeEnabled = 0; //Default to safe, with no boost mode + systemSettings.boostModeEnabled = 1; //Default to safe, with no boost mode systemSettings.BoostTemp = 420; //default to 400C systemSettings.powerDisplay = 0; //default to power display being off systemSettings.autoStartMode = 0; //Auto start off for safety diff --git a/workspace/TS100/src/gui.cpp b/workspace/TS100/src/gui.cpp index 5b1d3f4e..5395150b 100644 --- a/workspace/TS100/src/gui.cpp +++ b/workspace/TS100/src/gui.cpp @@ -202,6 +202,8 @@ static void settings_setCalibrate(void) { uint8_t maxOffset = strlen(SettingsCalibrationWarning); uint32_t descriptionStart = HAL_GetTick(); lcd.setFont(0); + lcd.clearScreen(); + lcd.setCursor(0, 0); for (;;) { int16_t descriptionOffset = ((HAL_GetTick() - descriptionStart) / 150) % maxOffset; @@ -214,6 +216,7 @@ static void settings_setCalibrate(void) { //User confirmed //So we now perform the actual calculation lcd.clearScreen(); + lcd.setCursor(0, 0); lcd.print("....."); lcd.refresh(); setCalibrationOffset(0); //turn off the current offset |