From a55450756b9b8bf8c056111a29d2ff2c56122908 Mon Sep 17 00:00:00 2001 From: Hugues Kamba Date: Sat, 22 Jun 2019 00:02:07 +0100 Subject: [PATCH] FIX 4 --- drivers/Ethernet.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/Ethernet.cpp b/drivers/Ethernet.cpp index 097bdbb137a7..b2b73c113cc7 100644 --- a/drivers/Ethernet.cpp +++ b/drivers/Ethernet.cpp @@ -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(); }