mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 02:37:31 +02:00
mdns: Updated mDNS to explicitely use esp-eth dependency if needed
* Original commit: espressif/esp-idf@5e19b9c951
This commit is contained in:
@ -20,3 +20,7 @@ idf_component_register(
|
|||||||
PRIV_INCLUDE_DIRS "private_include"
|
PRIV_INCLUDE_DIRS "private_include"
|
||||||
REQUIRES ${dependencies}
|
REQUIRES ${dependencies}
|
||||||
PRIV_REQUIRES ${private_dependencies})
|
PRIV_REQUIRES ${private_dependencies})
|
||||||
|
|
||||||
|
if(CONFIG_ETH_ENABLED)
|
||||||
|
idf_component_optional_requires(PRIVATE esp_eth)
|
||||||
|
endif()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: "1.0.2"
|
version: "1.0.3"
|
||||||
description: mDNS
|
description: mDNS
|
||||||
dependencies:
|
dependencies:
|
||||||
idf:
|
idf:
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
#include "mdns_networking.h"
|
#include "mdns_networking.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
#include "esp_random.h"
|
#include "esp_random.h"
|
||||||
|
#if CONFIG_ETH_ENABLED
|
||||||
|
#include "esp_eth.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MDNS_ENABLE_DEBUG
|
#ifdef MDNS_ENABLE_DEBUG
|
||||||
void mdns_debug_packet(const uint8_t * data, size_t len);
|
void mdns_debug_packet(const uint8_t * data, size_t len);
|
||||||
|
Reference in New Issue
Block a user