mirror of https://github.com/sfeakes/AqualinkD.git
updates to ui
parent
f2f8912296
commit
bfe5f55ef4
4
config.c
4
config.c
|
@ -243,9 +243,9 @@ void readCfg (struct aqconfig *config_parameters, struct aqualinkdata *aqdata, c
|
|||
config_parameters->dzidx_spa_water_temp = strtoul(indx+1, NULL, 10);
|
||||
} else if (strncasecmp (b_ptr, "light_programming_mode", 21) == 0) {
|
||||
config_parameters->light_programming_mode = atof(cleanalloc(indx+1)); // should free this
|
||||
} else if (strncasecmp (b_ptr, "light_programming_initial_on", 27) == 0) {
|
||||
} else if (strncasecmp (b_ptr, "light_programming_initial_on", 28) == 0) {
|
||||
config_parameters->light_programming_initial_on = strtoul(indx+1, NULL, 10);
|
||||
} else if (strncasecmp (b_ptr, "light_programming_initial_off", 28) == 0) {
|
||||
} else if (strncasecmp (b_ptr, "light_programming_initial_off", 29) == 0) {
|
||||
config_parameters->light_programming_initial_off = strtoul(indx+1, NULL, 10);
|
||||
} else if (strncasecmp (b_ptr, "light_programming_button", 21) == 0) {
|
||||
config_parameters->light_programming_button = strtoul(indx+1, NULL, 10) - 1;
|
||||
|
|
|
@ -473,7 +473,7 @@ void set_light_mode(char *value)
|
|||
// 5 below is light index, need to look this up so it's not hard coded.
|
||||
sprintf(buf, "%-5s%-5d%-5d%-5d%.2f",value,
|
||||
_aqualink_config->light_programming_button,
|
||||
_aqualink_config->light_programming_initial_on ,
|
||||
_aqualink_config->light_programming_initial_on,
|
||||
_aqualink_config->light_programming_initial_off,
|
||||
_aqualink_config->light_programming_mode );
|
||||
//logMessage(LOG_NOTICE, "WEB: requset light mode %s\n", buf);
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue