From 5326165db4d80a227592a5fe13de542120b279a5 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 28 Nov 2023 19:47:13 -0300 Subject: [PATCH] fix text --- .../Examples/x/x/nucleo-f746zg-cube-baremetal/Core/Src/main.c | 2 +- .../Examples/x/x/nucleo-f746zg-cube-freertos/Core/Src/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-baremetal/Core/Src/main.c b/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-baremetal/Core/Src/main.c index e923ab8a..94a0bbe9 100644 --- a/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-baremetal/Core/Src/main.c +++ b/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-baremetal/Core/Src/main.c @@ -102,7 +102,7 @@ void mg_random(void *buf, size_t len) { // Use on-board RNG static void timer_fn(void *arg) { HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_7); // Blink On-board blue LED struct mg_tcpip_if *ifp = arg; // And show - const char *names[] = {"down", "up", "ready"}; // network stats + const char *names[] = {"down", "up", "req", "ready"}; // network stats MG_INFO(("Ethernet: %s, IP: %M, rx:%u, tx:%u, dr:%u, er:%u", names[ifp->state], mg_print_ip4, &ifp->ip, ifp->nrecv, ifp->nsent, ifp->ndrop, ifp->nerr)); diff --git a/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-freertos/Core/Src/main.c b/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-freertos/Core/Src/main.c index 9c97d539..8a16979e 100644 --- a/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-freertos/Core/Src/main.c +++ b/extra/stm_exp_pack/Examples/x/x/nucleo-f746zg-cube-freertos/Core/Src/main.c @@ -115,7 +115,7 @@ void mg_random(void *buf, size_t len) { // Use on-board RNG static void timer_fn(void *arg) { struct mg_tcpip_if *ifp = arg; // And show - const char *names[] = {"down", "up", "ready"}; // network stats + const char *names[] = {"down", "up", "req", "ready"}; // network stats MG_INFO(("Ethernet: %s, IP: %M, rx:%u, tx:%u, dr:%u, er:%u", names[ifp->state], mg_print_ip4, &ifp->ip, ifp->nrecv, ifp->nsent, ifp->ndrop, ifp->nerr));