File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ enum { // compatibility with Arduino ::maintain()
53
53
class EthernetClass : public MbedSocketClass {
54
54
55
55
public:
56
- // Initialise the Ethernet shield to use the provided MAC address and
57
- // gain the rest of the configuration through DHCP.
58
- // Returns 0 if the DHCP configuration failed, and 1 if it succeeded
59
56
EthernetClass (EthernetInterface *_if)
60
57
: eth_if(_if){};
61
58
59
+ // Initialise the Ethernet shield to use the provided MAC address and
60
+ // gain the rest of the configuration through DHCP.
61
+ // Returns 0 if the DHCP configuration failed, and 1 if it succeeded
62
62
int begin (uint8_t *mac = nullptr , unsigned long timeout = 60000 , unsigned long responseTimeout = 4000 );
63
63
EthernetLinkStatus linkStatus ();
64
64
EthernetHardwareStatus hardwareStatus ();
You can’t perform that action at this time.
0 commit comments