configmanager.cpp: bugfix double antenna_select
This commit is contained in:
1 parent
9ddef4eb64
commit
c40f6bcc77
2 files changed
+5
-10
No files matched your search
@@ -316,10 +316,5 @@ void loadConfig() {
|
||||
nvs_close(my_handle);
|
||||
ESP_LOGI(TAG, "Done");
|
||||
|
||||
// put actions to be triggered after config loaded here
|
||||
|
||||
#ifdef HAS_ANTENNA_SWITCH // set antenna type
|
||||
antenna_select(cfg.wifiant);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
} // loadConfig()
|
||||
Reference in new issue
Block a user