Unverified Commit 71edeb8d authored by Juraj Andrássy's avatar Juraj Andrássy Committed by GitHub

lwIP_enc28j60 - add missing end() method (#2055)

parent c90248dc
...@@ -516,6 +516,12 @@ bool ENC28J60::begin(const uint8_t* address, netif *net) { ...@@ -516,6 +516,12 @@ bool ENC28J60::begin(const uint8_t* address, netif *net) {
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void ENC28J60::end() {
}
/*---------------------------------------------------------------------------*/
uint16_t ENC28J60::sendFrame(const uint8_t* data, uint16_t datalen) { uint16_t ENC28J60::sendFrame(const uint8_t* data, uint16_t datalen) {
uint16_t dataend; uint16_t dataend;
......
...@@ -61,6 +61,11 @@ public: ...@@ -61,6 +61,11 @@ public:
*/ */
bool begin(const uint8_t* address, netif *net); bool begin(const uint8_t* address, netif *net);
/**
Shut down the Ethernet controlled
*/
void end();
/** /**
Send an Ethernet frame Send an Ethernet frame
@param data a pointer to the data to send @param data a pointer to the data to send
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment