Update Settings reset to always zero,

Update GUI for temp setting to round to 10 increments.
This commit is contained in:
Ben V. Brown
2018-04-11 09:58:35 +10:00
parent a062317e7a
commit 79477685bd
4 changed files with 75 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ uint8_t lookupVoltageLevel(uint8_t level) {
return (level * 33) + (33 * 2);
}
void resetSettings() {
memset((void*)&systemSettings,0,sizeof(systemSettingsType));
systemSettings.SleepTemp = 150; //Temperature the iron sleeps at - default 150.0 C
systemSettings.SleepTime = 6; //How many seconds/minutes we wait until going to sleep - default 1 min
systemSettings.SolderingTemp = 320; //Default soldering temp is 320.0 C