gate ethernet behind soc support
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define NETWORK_H
|
||||
|
||||
#include <esp_event.h>
|
||||
#include <soc/soc_caps.h>
|
||||
|
||||
#define POSIX_TIMEZONE_STRING "CET-1CEST,M3.5.0,M10.5.0/3"
|
||||
#define SNTP_TIME_SYNC_INTERVAL_MINUTES (6 * 60) // 6 hours
|
||||
@@ -26,6 +27,9 @@ struct wifi_networks_t {
|
||||
};
|
||||
|
||||
void init_wifi(const struct wifi_networks_t *nets, const char *hostname);
|
||||
|
||||
#if SOC_EMAC_SUPPORTED
|
||||
void init_ethernet(const char *hostname);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user