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
Mika Leppänen 2018-06-29 14:28:39 +03:00
parent f12afde757
commit 83a82d31e0
10 changed files with 2 additions and 1 deletions

View File

@ -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