Skip to content

Commit 6fd3d5e

Browse files
committed
ethernet: remove getters overloads
1 parent 449f891 commit 6fd3d5e

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

libraries/Ethernet/src/Ethernet.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,5 @@ void EthernetClass::end() {
7171
disconnect();
7272
}
7373

74-
IPAddress EthernetClass::localIP() {
75-
return NetworkInterface::localIP();
76-
}
77-
78-
IPAddress EthernetClass::subnetMask() {
79-
return NetworkInterface::subnetMask();
80-
}
81-
82-
IPAddress EthernetClass::gatewayIP() {
83-
return NetworkInterface::gatewayIP();
84-
}
85-
86-
IPAddress EthernetClass::dnsServerIP() {
87-
return NetworkInterface::dnsServerIP();
88-
}
89-
9074
EthernetClass Ethernet;
9175
#endif

libraries/Ethernet/src/Ethernet.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ class EthernetClass : public NetworkInterface {
5555
void init(uint8_t sspin = 10);
5656
void end(void);
5757

58-
IPAddress localIP();
59-
IPAddress subnetMask();
60-
IPAddress gatewayIP();
61-
IPAddress dnsServerIP();
62-
6358
void setRetransmissionTimeout(uint16_t milliseconds);
6459
void setRetransmissionCount(uint8_t num);
6560
};

0 commit comments

Comments
 (0)