aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/lwip_bindings
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-26 13:07:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-26 13:07:07 +0000
commitfd79f8b4ceb7d40d076503b5963a15a51f5171dd (patch)
tree71c8a4eda50730465bef35af442280b4a81a5848 /os/various/lwip_bindings
parent82e9c928eb0adc2508bbd70b458362efa512049b (diff)
downloadChibiOS-fd79f8b4ceb7d40d076503b5963a15a51f5171dd.tar.gz
ChibiOS-fd79f8b4ceb7d40d076503b5963a15a51f5171dd.tar.bz2
ChibiOS-fd79f8b4ceb7d40d076503b5963a15a51f5171dd.zip
Fixed bug #543.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7431 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/lwip_bindings')
-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,