Compare commits
No commits in common. "7ebc091691627280f8860284d4d479d75314dea9" and "36a5af164e93d96c354c64cf5037ada1f33ff490" have entirely different histories.
7ebc091691
...
36a5af164e
|
@ -699,10 +699,6 @@ void ac_set_state(int mode, int temperature, int fan_speed)
|
||||||
{
|
{
|
||||||
ac_mode = mode;
|
ac_mode = mode;
|
||||||
ac_temperature = temperature;
|
ac_temperature = temperature;
|
||||||
if (ac_temperature < AC_MIN_TEMPERATURE)
|
|
||||||
ac_temperature = AC_MIN_TEMPERATURE;
|
|
||||||
else if (ac_temperature > AC_MAX_TEMPERATURE)
|
|
||||||
ac_temperature = AC_MAX_TEMPERATURE;
|
|
||||||
ac_fan_speed = fan_speed;
|
ac_fan_speed = fan_speed;
|
||||||
temperature -= AC_MIN_TEMPERATURE;
|
temperature -= AC_MIN_TEMPERATURE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue