mirror of https://github.com/ARMmbed/mbed-os.git
emac interface - typedef should be available for non-emac targets
As it's required by lwip_bringup functionpull/3975/head
parent
63f0ff1b49
commit
56a223e3f4
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
|
||||
#if DEVICE_EMAC
|
||||
|
||||
#include <stdbool.h>
|
||||
|
|
@ -154,5 +155,9 @@ typedef struct emac_interface {
|
|||
void *hw;
|
||||
} emac_interface_t;
|
||||
|
||||
#else
|
||||
|
||||
typedef void *emac_interface_t;
|
||||
|
||||
#endif /* DEVICE_EMAC */
|
||||
#endif /* MBED_EMAC_API_H */
|
||||
|
|
|
|||
Loading…
Reference in New Issue