mirror of https://github.com/ARMmbed/mbed-os.git
Separate Stack/Interface concept into two distinct classes
parent
def3b408f0
commit
a7c07996d9
|
|
@ -17,7 +17,7 @@
|
|||
#ifndef LWIP_INTERFACE_H
|
||||
#define LWIP_INTERFACE_H
|
||||
|
||||
#include "EthernetStack.h"
|
||||
#include "EthernetInterface.h"
|
||||
#include "rtos.h"
|
||||
#include "lwip/netif.h"
|
||||
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
/** LWIPInterface class
|
||||
* Implementation of the NetworkStack for LWIP
|
||||
*/
|
||||
class LWIPInterface : public EthernetStack
|
||||
class LWIPInterface : public NetworkStack, public EthernetInterface
|
||||
{
|
||||
public:
|
||||
/** Start the interface
|
||||
|
|
|
|||
Loading…
Reference in New Issue