mirror of
https://github.com/esphome/esphome.git
synced 2024-12-03 13:34:01 +01:00
fix disabled wifi power on 8266 (#5409)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
parent
11f6e555f9
commit
e3eef1cc6d
@ -98,6 +98,7 @@ bool WiFiComponent::wifi_apply_power_save_() {
|
|||||||
power_save = NONE_SLEEP_T;
|
power_save = NONE_SLEEP_T;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
wifi_fpm_auto_sleep_set_in_null_mode(1);
|
||||||
return wifi_set_sleep_type(power_save);
|
return wifi_set_sleep_type(power_save);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user