Added config for web interface.
This commit is contained in:
@@ -59,10 +59,13 @@ static const int kDefaultServoPin = 4;
|
||||
#endif
|
||||
|
||||
struct ConfigParameter {
|
||||
const char *type;
|
||||
const char *key;
|
||||
int *value;
|
||||
void *value;
|
||||
String description;
|
||||
int defaultValue;
|
||||
const char *defaultText;
|
||||
bool secret;
|
||||
};
|
||||
|
||||
extern FastAccelStepperEngine g_stepEngine;
|
||||
@@ -94,6 +97,8 @@ extern int g_iPenEnablePin;
|
||||
extern int g_iServoPin;
|
||||
extern int g_iRotMicrostep;
|
||||
extern int g_iPenMicrostep;
|
||||
extern String g_sWifiSsid;
|
||||
extern String g_sWifiPassword;
|
||||
|
||||
extern ConfigParameter configParameters[];
|
||||
extern const size_t configParameterCount;
|
||||
|
||||
Reference in New Issue
Block a user