1
0
forked from me/IronOS

Add autostart

Adds autostart option.
Only works on first power up, so if the settings wrong you can still easily change it 😄
Fixes #43
This commit is contained in:
Ben V. Brown
2017-08-06 22:21:57 +10:00
parent f1aa331168
commit 48040acbcc
7 changed files with 57 additions and 26 deletions

View File

@@ -14,6 +14,8 @@ void setup();
int main(void) {
setup();/*Setup the system*/
if(systemSettings.autoStart)
operatingMode = SOLDERING;
while (1) {
Clear_Watchdog(); //reset the Watch dog timer
ProcessUI();