fix statechange test

This commit is contained in:
Sergio R. Caprile
2025-09-17 10:45:28 -03:00
parent 3c4c04199a
commit a99cc3dbaf
+2 -1
View File
@@ -44,9 +44,10 @@ static void test_csum(void) {
static bool executed = false;
static void mif_fn(struct mg_tcpip_if *ifp, int ev, void *ev_data) {
if (ev == MG_TCPIP_EV_ST_CHG)
if (ev == MG_TCPIP_EV_ST_CHG) {
ASSERT(*(uint8_t *) ev_data == MG_TCPIP_STATE_READY);
executed = true;
}
(void) ifp;
}