mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-03 21:32:08 +00:00
Fixed loopif_poll define (now maps directly to netif_poll)
This commit is contained in:
parent
ef3666ef26
commit
460b18e82c
@ -32,6 +32,7 @@
|
|||||||
#ifndef __NETIF_LOOPIF_H__
|
#ifndef __NETIF_LOOPIF_H__
|
||||||
#define __NETIF_LOOPIF_H__
|
#define __NETIF_LOOPIF_H__
|
||||||
|
|
||||||
|
#include "lwip/opt.h"
|
||||||
#include "lwip/netif.h"
|
#include "lwip/netif.h"
|
||||||
#include "lwip/err.h"
|
#include "lwip/err.h"
|
||||||
|
|
||||||
@ -40,8 +41,8 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !LWIP_NETIF_LOOPBACK_MULTITHREADING
|
#if !LWIP_NETIF_LOOPBACK_MULTITHREADING
|
||||||
#define loopif_poll(netif) netif_poll()
|
#define loopif_poll netif_poll
|
||||||
#endif
|
#endif /* !LWIP_NETIF_LOOPBACK_MULTITHREADING */
|
||||||
|
|
||||||
err_t loopif_init(struct netif *netif);
|
err_t loopif_init(struct netif *netif);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user