struct mip_ipcfg -> struct mip_cfg

This commit is contained in:
cpq committed 2022-08-31 08:41:16 +01:00
1 parent 8a61969c8f
commit c131b8daf1
6 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -1431,12 +1431,12 @@ struct mip_driver {
void (*setrx)(void (*fn)(void *buf, size_t len, void *rxdata), void *rxdata);
};
struct mip_ipcfg {
struct mip_cfg {
uint8_t mac[6]; // MAC address. Must not be 0
uint32_t ip, mask, gw; // IP, netmask, GW. If IP is 0, DHCP is used
};
void mip_init(struct mg_mgr *, struct mip_ipcfg *, struct mip_driver *, void *);
void mip_init(struct mg_mgr *, struct mip_cfg *, struct mip_driver *, void *);
extern struct mip_driver mip_driver_stm32;
extern struct mip_driver mip_driver_enc28j60;