aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/lwip_bindings/lwipthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/various/lwip_bindings/lwipthread.c')
-rw-r--r--os/various/lwip_bindings/lwipthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c
index dd2a835c2..89befa9f0 100644
--- a/os/various/lwip_bindings/lwipthread.c
+++ b/os/various/lwip_bindings/lwipthread.c
@@ -263,7 +263,7 @@ msg_t lwip_thread(void *p) {
while (TRUE) {
eventmask_t mask = chEvtWaitAny(ALL_EVENTS);
if (mask & PERIODIC_TIMER_ID) {
- bool_t current_link_status = macPollLinkStatus(&ETHD1);
+ bool current_link_status = macPollLinkStatus(&ETHD1);
if (current_link_status != netif_is_link_up(&thisif)) {
if (current_link_status)
tcpip_callback_with_block((tcpip_callback_fn) netif_set_link_up,