File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,6 @@ int arduino::EthernetClass::setHostname(const char* hostname) {
29
29
return 1 ;
30
30
}
31
31
32
- int arduino::EthernetClass::begin (const char * hostname) {
33
- eth_if->set_hostname (hostname);
34
- auto ret = begin ();
35
- return ret;
36
- }
37
-
38
32
int arduino::EthernetClass::begin (uint8_t *mac, IPAddress ip) {
39
33
IPAddress dns = ip;
40
34
dns[3 ] = 1 ;
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ class EthernetClass : public MbedSocketClass {
63
63
// gain the rest of the configuration through DHCP.
64
64
// Returns 0 if the DHCP configuration failed, and 1 if it succeeded
65
65
int begin (uint8_t *mac = nullptr , unsigned long timeout = 60000 , unsigned long responseTimeout = 4000 );
66
- int begin (const char * hostname);
67
66
EthernetLinkStatus linkStatus ();
68
67
EthernetHardwareStatus hardwareStatus ();
69
68
You can’t perform that action at this time.
0 commit comments