Skip to content

Commit 83a82d3

Browse files
author
Mika Leppänen
committed
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().
1 parent f12afde commit 83a82d3

File tree

10 files changed

+2
-1
lines changed

10 files changed

+2
-1
lines changed
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.

targets/TARGET_WICED/wiced_interface/WicedInterface.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "mbed.h"
2121
#include "EthernetInterface.h"
2222
#include "netsocket/OnboardNetworkStack.h"
23+
#include "wiced_emac.h"
2324

2425

2526
/** WicedInterface class
@@ -30,7 +31,7 @@ class WicedInterface : public WiFiInterface, public EMACInterface
3031
public:
3132

3233
WicedInterface(
33-
EMAC &emac = EMAC::get_default_instance(),
34+
EMAC &emac = WICED_EMAC::get_instance(),
3435
OnboardNetworkStack &stack = OnboardNetworkStack::get_default_instance());
3536

3637
/** Start the interface

0 commit comments

Comments
 (0)