[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwip stall
From: |
Michael Steinecke |
Subject: |
Re: [lwip-users] lwip stall |
Date: |
Mon, 6 Oct 2014 08:36:39 -0700 (MST) |
Hi,
actually, STM made only a partial bugfix. I've ran in the same mistake. The
do/while loop in ethernetif_input() is still missing in the CubeMX software.
void ethernetif_input( void const * argument )
{
struct pbuf *p;
struct netif *netif = (struct netif *) argument;
for( ;; )
{
if (osSemaphoreWait( s_xSemaphore, TIME_WAITING_FOR_INPUT)==osOK)
{
do
{
p = low_level_input( netif );
if (p != NULL)
{
if (netif->input( p, netif) != ERR_OK )
{
pbuf_free(p);
}
}
}while(p!=NULL);
}
}
}
--
View this message in context:
http://lwip.100.n7.nabble.com/lwip-stall-tp23366p23370.html
Sent from the lwip-users mailing list archive at Nabble.com.