Skip to content

Commit

Permalink
FIX 4
Browse files Browse the repository at this point in the history
  • Loading branch information
hugueskamba committed Jun 21, 2019
1 parent 5cc049e commit a554507
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/Ethernet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,37 +27,37 @@ Ethernet::Ethernet()
ethernet_init();
}

Ethernet::~Ethernet()
Ethernet::~Ethernet()
{
ethernet_free();
}

int Ethernet::write(const char *data, int size)
int Ethernet::write(const char *data, int size)
{
return ethernet_write(data, size);
}

int Ethernet::send()
int Ethernet::send()
{
return ethernet_send();
}

int Ethernet::receive()
int Ethernet::receive()
{
return ethernet_receive();
}

int Ethernet::read(char *data, int size)
int Ethernet::read(char *data, int size)
{
return ethernet_read(data, size);
}

void Ethernet::address(char *mac)
void Ethernet::address(char *mac)
{
return ethernet_address(mac);
}

int Ethernet::link()
int Ethernet::link()
{
return ethernet_link();
}
Expand Down

0 comments on commit a554507

Please sign in to comment.