Make DHCP name size configurable

This commit is contained in:
Sergio R. Caprile committed 2025-09-15 09:40:43 -03:00
1 parent 1dff394b63
commit 0b9f28b8e3
3 files changed
+36 -28

No files matched your search

+4
View File
@@ -179,6 +179,10 @@
#define MG_SET_MAC_ADDRESS(mac)
#endif
#ifndef MG_TCPIP_DHCPNAME_SIZE
#define MG_TCPIP_DHCPNAME_SIZE 18 // struct mg_tcpip_if :: dhcp_name size
#endif
#ifndef MG_SET_WIFI_CONFIG
#define MG_SET_WIFI_CONFIG(data)
#endif