From a99cc3dbaff09a76c8b158f966a5584d356e599c Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Wed, 17 Sep 2025 10:45:28 -0300 Subject: [PATCH] fix statechange test --- test/mip_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/mip_test.c b/test/mip_test.c index b5073e26..d24d8692 100644 --- a/test/mip_test.c +++ b/test/mip_test.c @@ -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; }