From 4e7584167b16be0ff12baedab082a03fc1b08df7 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 27 Feb 2023 10:54:32 -0300 Subject: [PATCH] force check and failures --- examples/stm32/nucleo-f429zi-rndis/main.c | 2 +- src/tcpip/tcpip.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/stm32/nucleo-f429zi-rndis/main.c b/examples/stm32/nucleo-f429zi-rndis/main.c index 7777b5d5..ba6dd324 100644 --- a/examples/stm32/nucleo-f429zi-rndis/main.c +++ b/examples/stm32/nucleo-f429zi-rndis/main.c @@ -95,7 +95,7 @@ int main(void) { .mask = mg_htonl(MG_U32(255, 255, 255, 0)), .enable_dhcp_server = true, .driver = &driver, - .queue.len = 4096}; + .recv_queue.size = 4096}; s_ifp = &mif; mg_tcpip_init(&mgr, &mif); mg_timer_add(&mgr, 500, MG_TIMER_REPEAT, blink_cb, &mgr); diff --git a/src/tcpip/tcpip.h b/src/tcpip/tcpip.h index 8c042619..371faed4 100644 --- a/src/tcpip/tcpip.h +++ b/src/tcpip/tcpip.h @@ -64,8 +64,8 @@ struct mg_tcpip_spi { #if MG_ENABLE_TCPIP #if !defined(MG_ENABLE_DRIVER_STM32H) && !defined(MG_ENABLE_DRIVER_TM4C) -#define MG_ENABLE_DRIVER_STM32 1 + #define MG_ENABLE_DRIVER_STM32 1 #else -#define MG_ENABLE_DRIVER_STM32 0 + #define MG_ENABLE_DRIVER_STM32 0 #endif #endif