gate ethernet behind soc support

This commit is contained in:
2026-06-19 13:26:33 +02:00
parent 00d2a49ca9
commit 1108ff0a97
2 changed files with 12 additions and 2 deletions

View File

@@ -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