mirror of https://github.com/ARMmbed/mbed-os.git
Modified Wiced drivers EMAC instance get
Removed EMAC get_default_instance() since WLAN drivers are not default EMAC drivers. Moved EMAC static declaration inside get_instance().pull/7413/head
parent
f12afde757
commit
83a82d31e0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -20,6 +20,7 @@
|
|||
#include "mbed.h"
|
||||
#include "EthernetInterface.h"
|
||||
#include "netsocket/OnboardNetworkStack.h"
|
||||
#include "wiced_emac.h"
|
||||
|
||||
|
||||
/** WicedInterface class
|
||||
|
@ -30,7 +31,7 @@ class WicedInterface : public WiFiInterface, public EMACInterface
|
|||
public:
|
||||
|
||||
WicedInterface(
|
||||
EMAC &emac = EMAC::get_default_instance(),
|
||||
EMAC &emac = WICED_EMAC::get_instance(),
|
||||
OnboardNetworkStack &stack = OnboardNetworkStack::get_default_instance());
|
||||
|
||||
/** Start the interface
|
||||
|
|
Loading…
Reference in New Issue