fix disabled wifi power on 8266 (#5409)

Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
Samuel Sieb 2023-09-20 14:20:54 -07:00 committed by Jesse Hills
parent 2fa7f8c511
commit e886262055
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -98,6 +98,7 @@ bool WiFiComponent::wifi_apply_power_save_() {
power_save = NONE_SLEEP_T;
break;
}
wifi_fpm_auto_sleep_set_in_null_mode(1);
return wifi_set_sleep_type(power_save);
}