mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-06-02 10:41:29 +00:00
Fixed build for coldfire after last debug.h and opt.h changes.
This commit is contained in:
parent
d5be11334f
commit
a9749edff8
|
@ -36,7 +36,7 @@
|
|||
#define _5272FEC_H 1
|
||||
|
||||
|
||||
void
|
||||
err_t
|
||||
mcf5272fecif_init(struct netif *netif);
|
||||
|
||||
|
||||
|
|
|
@ -756,7 +756,7 @@ etharp_timer_init(void *arg)
|
|||
* Note that there is only one fec in a 5272!
|
||||
*
|
||||
*/
|
||||
void
|
||||
err_t
|
||||
mcf5272fecif_init(struct netif *netif)
|
||||
{
|
||||
sys_sem_t sem;
|
||||
|
@ -785,12 +785,10 @@ mcf5272fecif_init(struct netif *netif)
|
|||
sys_sem_wait(sem);
|
||||
sys_sem_free(sem);
|
||||
|
||||
|
||||
return ERR_OK;
|
||||
}
|
||||
/*
|
||||
else
|
||||
Give some error message if we are out of memory
|
||||
*/
|
||||
return ERR_MEM;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
|
@ -198,6 +198,6 @@ a lot of data that needs to be copied, this should be set high. */
|
|||
#endif /* STATS */
|
||||
|
||||
|
||||
#define LWIP_COMPAT_SOCKETS
|
||||
#define LWIP_PROVIDE_ERRNO
|
||||
#define LWIP_COMPAT_SOCKETS 1
|
||||
#define LWIP_PROVIDE_ERRNO 1
|
||||
#endif /* __LWIPOPTS_H__ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user