Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 321c2fb

Browse files
Merge pull request #841 from trik/ethernet_begin_fix
fix(Ethernet): missing return statement in begin with mac, timeout and responseTimeout
2 parents d63f3ab + 6439037 commit 321c2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libraries/Ethernet/src/Ethernet.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int arduino::EthernetClass::begin(uint8_t *mac, unsigned long timeout, unsigned
99
if (eth_if == nullptr) return 0;
1010
}
1111
eth_if->set_dhcp(true);
12-
_begin(mac, timeout, responseTimeout);
12+
return_begin(mac, timeout, responseTimeout);
1313
}
1414

1515
int arduino::EthernetClass::_begin(uint8_t *mac, unsigned long timeout, unsigned long responseTimeout) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /