mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-17 12:32:14 +02:00
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:
@ -26,8 +26,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(5, 1, 0)
|
#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 CONFIG_SOC_WIFI_SUPPORTED
|
||||||
#define MDNS_ESP_WIFI_ENABLED 1
|
|
||||||
#else
|
#else
|
||||||
#define MDNS_ESP_WIFI_ENABLED CONFIG_ESP_WIFI_ENABLED
|
#define MDNS_ESP_WIFI_ENABLED CONFIG_ESP_WIFI_ENABLED
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user