From 57837f285ff9d21d2ab72bf01c8aeb7f37104f8d Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 28 Nov 2023 19:44:45 -0300 Subject: [PATCH] fix text --- .../stm32/nucleo-f429zi-cube-baremetal-builtin/Core/Src/main.c | 2 +- .../stm32/nucleo-f429zi-cube-freertos-builtin/Core/Src/main.c | 2 +- .../stm32/nucleo-f746zg-cube-baremetal-builtin/Core/Src/main.c | 2 +- .../stm32/nucleo-f746zg-cube-freertos-builtin/Core/Src/main.c | 2 +- .../stm32/nucleo-h743zi-cube-baremetal-builtin/Core/Src/main.c | 2 +- .../stm32/nucleo-h743zi-cube-freertos-builtin/Core/Src/main.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/stm32/nucleo-f429zi-cube-baremetal-builtin/Core/Src/main.c b/examples/stm32/nucleo-f429zi-cube-baremetal-builtin/Core/Src/main.c index 1b4ae477..45a394e1 100644 --- a/examples/stm32/nucleo-f429zi-cube-baremetal-builtin/Core/Src/main.c +++ b/examples/stm32/nucleo-f429zi-cube-baremetal-builtin/Core/Src/main.c @@ -88,7 +88,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/examples/stm32/nucleo-f429zi-cube-freertos-builtin/Core/Src/main.c b/examples/stm32/nucleo-f429zi-cube-freertos-builtin/Core/Src/main.c index 1531a3ec..4e8a46f1 100644 --- a/examples/stm32/nucleo-f429zi-cube-freertos-builtin/Core/Src/main.c +++ b/examples/stm32/nucleo-f429zi-cube-freertos-builtin/Core/Src/main.c @@ -101,7 +101,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)); diff --git a/examples/stm32/nucleo-f746zg-cube-baremetal-builtin/Core/Src/main.c b/examples/stm32/nucleo-f746zg-cube-baremetal-builtin/Core/Src/main.c index 4f9513d4..4f0ecb1f 100644 --- a/examples/stm32/nucleo-f746zg-cube-baremetal-builtin/Core/Src/main.c +++ b/examples/stm32/nucleo-f746zg-cube-baremetal-builtin/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/examples/stm32/nucleo-f746zg-cube-freertos-builtin/Core/Src/main.c b/examples/stm32/nucleo-f746zg-cube-freertos-builtin/Core/Src/main.c index a14ad334..a54ea5cc 100644 --- a/examples/stm32/nucleo-f746zg-cube-freertos-builtin/Core/Src/main.c +++ b/examples/stm32/nucleo-f746zg-cube-freertos-builtin/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)); diff --git a/examples/stm32/nucleo-h743zi-cube-baremetal-builtin/Core/Src/main.c b/examples/stm32/nucleo-h743zi-cube-baremetal-builtin/Core/Src/main.c index 67a5b2b4..94f5b235 100644 --- a/examples/stm32/nucleo-h743zi-cube-baremetal-builtin/Core/Src/main.c +++ b/examples/stm32/nucleo-h743zi-cube-baremetal-builtin/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(GPIOE, GPIO_PIN_1); // Blink On-board yellow 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/examples/stm32/nucleo-h743zi-cube-freertos-builtin/Core/Src/main.c b/examples/stm32/nucleo-h743zi-cube-freertos-builtin/Core/Src/main.c index e88811f7..e63defcc 100644 --- a/examples/stm32/nucleo-h743zi-cube-freertos-builtin/Core/Src/main.c +++ b/examples/stm32/nucleo-h743zi-cube-freertos-builtin/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));