Skip to content

Commit 691bd0a

Browse files
committed
EthernetImpl
1 parent 1400df4 commit 691bd0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ArduinoCore-Linux/cores/arduino/Ethernet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ class EthernetImpl {
5454
}
5555

5656
/// To be compatible with Ethernet library: do nothing
57-
void begin(uint8_t macAddress[6] ) {}
57+
bool begin(uint8_t macAddress[6] ) { return true;}
5858
/// To be compatible with Ethernet library: do nothing
59-
void begin(uint8_t macAddress[6], IPAddress staticIP, IPAddress staticDNS, IPAddress staticGateway, IPAddress staticSubnet) {}
59+
bool begin(uint8_t macAddress[6], IPAddress staticIP, IPAddress staticDNS, IPAddress staticGateway, IPAddress staticSubnet) { return true;}
6060

6161
protected:
6262
IPAddress adress;

0 commit comments

Comments
 (0)