mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
Fix typo in definition of netif_is_flag_set() macro
This commit is contained in:
parent
ecd6009a5e
commit
6f7b26b1a8
@ -455,7 +455,7 @@ void netif_set_gw(struct netif *netif, const ip4_addr_t *gw);
|
|||||||
|
|
||||||
#define netif_set_flags(netif, set_flags) do { (netif)->flags = (u8_t)((netif)->flags | (set_flags)); } while(0)
|
#define netif_set_flags(netif, set_flags) do { (netif)->flags = (u8_t)((netif)->flags | (set_flags)); } while(0)
|
||||||
#define netif_clear_flags(netif, clr_flags) do { (netif)->flags = (u8_t)((netif)->flags & (u8_t)(~(clr_flags) & 0xff)); } while(0)
|
#define netif_clear_flags(netif, clr_flags) do { (netif)->flags = (u8_t)((netif)->flags & (u8_t)(~(clr_flags) & 0xff)); } while(0)
|
||||||
#define netif_is_flag_set(nefif, flag) (((netif)->flags & (flag)) != 0)
|
#define netif_is_flag_set(netif, flag) (((netif)->flags & (flag)) != 0)
|
||||||
|
|
||||||
void netif_set_up(struct netif *netif);
|
void netif_set_up(struct netif *netif);
|
||||||
void netif_set_down(struct netif *netif);
|
void netif_set_down(struct netif *netif);
|
||||||
|
Loading…
Reference in New Issue
Block a user