TouchSwitch/ConfigGenerator/configuration_h.tmpl
Wolfgang Hottgenroth 2e34cfe5b5 auth in config mode
2018-02-02 16:21:52 +01:00

17 lines
400 B
Cheetah

typedef struct {
#for $configItem in $configItems
#if $configItem.type == 'C'
char ${configItem.key}[$configItem.length];
#else if $configItem.type == 'I'
uint32_t $configItem.key;
#end if
#end for
} tConfigBlock;
extern const uint32_t MAGIC;
extern tConfigBlock configBlock;
extern const char* CONFIG_SSID;
void configServeIndex();
void configServeGetConfiguration();
void showConfiguration();