Separate Stack/Interface concept into two distinct classes

pull/2231/head
Christopher Haster 2016-04-20 14:39:13 -05:00
parent def3b408f0
commit a7c07996d9
1 changed files with 2 additions and 2 deletions

View File

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