We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd0b758 commit ddef82eCopy full SHA for ddef82e
libraries/Ethernet/src/Ethernet.cpp
@@ -27,7 +27,7 @@ int arduino::EthernetClass::begin(uint8_t *mac, unsigned long timeout, unsigned
27
delay(10);
28
}
29
30
- return (linkStatus() != LinkON ? 1 : 0);
+ return (linkStatus() == LinkON ? 1 : 0);
31
32
33
void arduino::EthernetClass::end() {
0 commit comments