fix(mdns): enable CONFIG_ESP_WIFI_ENABLED if CONFIG_SOC_WIFI_SUPPORTED is also enabled (for ESP-IDF <= 5.1)
This commit is contained in:
parent
7ec41cd447
commit
d20a718320
1 changed files with 1 additions and 2 deletions
|
|
@ -26,8 +26,7 @@
|
|||
#endif
|
||||
|
||||
#if ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(5, 1, 0)
|
||||
// IDF <= v5.1 does not support enabling/disabling esp-wifi
|
||||
#define MDNS_ESP_WIFI_ENABLED 1
|
||||
#define MDNS_ESP_WIFI_ENABLED CONFIG_SOC_WIFI_SUPPORTED
|
||||
#else
|
||||
#define MDNS_ESP_WIFI_ENABLED CONFIG_ESP_WIFI_ENABLED
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue