MIP_STATE_* -> MG_TCPIP_STATE_*

This commit is contained in:
Sergio R. Caprile
2023-03-09 11:25:02 -03:00
parent 3f760e1875
commit 2ece3a8b4c
16 changed files with 75 additions and 75 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ static void test_statechange(void) {
struct mg_tcpip_if iface;
memset(&iface, 0, sizeof(iface));
iface.ip = mg_htonl(0x01020304);
iface.state = MIP_STATE_READY;
iface.state = MG_TCPIP_STATE_READY;
iface.tx.ptr = tx, iface.tx.len = sizeof(tx);
iface.driver = &mg_tcpip_driver_mock;
onstatechange(&iface);