Skip to content

Commit f49aa23

Browse files
committed
Adopted nsapi header in lwip
1 parent c412a0c commit f49aa23

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

EthernetInterface.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include "mbed.h"
1817
#include "EthernetInterface.h"
19-
#include "NetworkStack.h"
18+
#include "mbed.h"
2019
#include "SingletonPtr.h"
2120

2221
#include "eth_arch.h"

EthernetInterface.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
#ifndef ETHERNET_INTERFACE_H
1818
#define ETHERNET_INTERFACE_H
1919

20-
#include "EthInterface.h"
20+
#include "nsapi.h"
2121
#include "rtos.h"
2222
#include "lwip/netif.h"
2323

2424
// Forward declaration
2525
class NetworkStack;
2626

27+
2728
/** EthernetInterface class
2829
* Implementation of the NetworkStack for LWIP
2930
*/
@@ -60,4 +61,5 @@ class EthernetInterface : public EthInterface
6061
virtual NetworkStack * get_stack(void);
6162
};
6263

64+
6365
#endif

0 commit comments

Comments
 (0)