forked from enlightenment/enlightenment
Check if the sensor name has been set
SVN revision: 23231
This commit is contained in:
parent
0b853ce1dc
commit
d048e276b4
|
@ -103,12 +103,16 @@ _fill_data(E_Config_Dialog_Data *cfdata)
|
||||||
else if (p > TEMP_HIGH_MID)
|
else if (p > TEMP_HIGH_MID)
|
||||||
cfdata->high_method = TEMP_HIGH_HIGH;
|
cfdata->high_method = TEMP_HIGH_HIGH;
|
||||||
|
|
||||||
if (!strcmp(temperature_config->sensor_name, "temp1"))
|
cfdata->sensor = 0;
|
||||||
cfdata->sensor = 0;
|
if (temperature_config->sensor_name)
|
||||||
else if (!strcmp(temperature_config->sensor_name, "temp2"))
|
{
|
||||||
cfdata->sensor = 1;
|
if (!strcmp(temperature_config->sensor_name, "temp1"))
|
||||||
else if (!strcmp(temperature_config->sensor_name, "temp3"))
|
cfdata->sensor = 0;
|
||||||
cfdata->sensor = 2;
|
else if (!strcmp(temperature_config->sensor_name, "temp2"))
|
||||||
|
cfdata->sensor = 1;
|
||||||
|
else if (!strcmp(temperature_config->sensor_name, "temp3"))
|
||||||
|
cfdata->sensor = 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
|
|
Loading…
Reference in New Issue