mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-10 09:33:44 +08:00
Add macro ETH_ADDR() to initialize a struct eth_addr with its 6 bytes and taking care of correct braces
This commit is contained in:
@@ -78,7 +78,7 @@ typedef struct bridgeif_initdata_s {
|
||||
|
||||
/** @ingroup bridgeif
|
||||
* Use this for constant initialization of a bridgeif_initdat_t
|
||||
* (ethaddr must be passed as MAKE_ETH_ADDR())
|
||||
* (ethaddr must be passed as ETH_ADDR())
|
||||
*/
|
||||
#define BRIDGEIF_INITDATA1(max_ports, max_fdb_dynamic_entries, max_fdb_static_entries, ethaddr) {ethaddr, max_ports, max_fdb_dynamic_entries, max_fdb_static_entries}
|
||||
/** @ingroup bridgeif
|
||||
|
||||
Reference in New Issue
Block a user