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

@@ -36,9 +36,9 @@ typedef enum {
} operatingModeEnum;
//#define PIDTUNING
#ifdef PIDTUNING
#define SETTINGSOPTIONSCOUNT (11+3) /*Number of settings in the settings menu*/
#define SETTINGSOPTIONSCOUNT (12+3) /*Number of settings in the settings menu*/
#else
#define SETTINGSOPTIONSCOUNT (11) /*Number of settings in the settings menu*/
#define SETTINGSOPTIONSCOUNT (12) /*Number of settings in the settings menu*/
#endif
typedef enum {
UVCO = 0,
@@ -53,13 +53,15 @@ typedef enum {
BOOSTMODE,
BOOSTTEMP,
POWERDISPLAY,
AUTOSTART,
#ifdef PIDTUNING
PIDP,
PIDI,
PIDD,
PIDP,
PIDI,
PIDD,
#endif
} settingsPageEnum;
void ProcessUI();
void DrawUI();
extern operatingModeEnum operatingMode;
#endif /* MODES_H_ */