New config UI for Services (Airplay, bt, etc) - release

This commit is contained in:
Sebastien
2020-09-12 23:09:38 -04:00
parent bbbc924fcd
commit 0c224b4b84
5 changed files with 10 additions and 8 deletions

View File

@@ -274,7 +274,7 @@ void wifi_manager_init_wifi(){
ESP_LOGD(TAG, "Initializing wifi. Starting wifi");
char * disable_ps = config_alloc_get_default(NVS_TYPE_STR, "disable_ps", "n", 0);
if (gpio36_39_used || (disable_ps && strcasecmp(disable_ps,"y"))) {
if (gpio36_39_used || (disable_ps && strcasecmp(disable_ps,"y")==0)) {
if(gpio36_39_used){
ESP_LOGW(TAG, "GPIO 36 or 39 are in use, need to disable WiFi PowerSave!");
}