mirror of https://github.com/ARMmbed/mbed-os.git
Adopted nsapi header in lwip
parent
c412a0cfde
commit
f49aa238d2
|
@ -14,9 +14,8 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "mbed.h"
|
||||
#include "EthernetInterface.h"
|
||||
#include "NetworkStack.h"
|
||||
#include "mbed.h"
|
||||
#include "SingletonPtr.h"
|
||||
|
||||
#include "eth_arch.h"
|
||||
|
|
|
@ -17,13 +17,14 @@
|
|||
#ifndef ETHERNET_INTERFACE_H
|
||||
#define ETHERNET_INTERFACE_H
|
||||
|
||||
#include "EthInterface.h"
|
||||
#include "nsapi.h"
|
||||
#include "rtos.h"
|
||||
#include "lwip/netif.h"
|
||||
|
||||
// Forward declaration
|
||||
class NetworkStack;
|
||||
|
||||
|
||||
/** EthernetInterface class
|
||||
* Implementation of the NetworkStack for LWIP
|
||||
*/
|
||||
|
@ -60,4 +61,5 @@ protected:
|
|||
virtual NetworkStack * get_stack(void);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue