Skip to content

Commit

Permalink
readme: Update "Link detection" section
Browse files Browse the repository at this point in the history
  • Loading branch information
ssilverman committed Apr 12, 2024
1 parent 6baf776 commit d6e1677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@ to not be able to detect a link. For example, the W5100 chip is unable to read
this state.

Since the underlying lwIP stack depends on the link being up in order to operate
properly, the project will have to manage the link state itself. The suggestion
is this:
properly, a project will need to manage the link state itself for those drivers.
The suggestion is this:
1. Start Ethernet as you normally would.
2. If successful, check `Ethernet.isLinkStateDetectable()`.
3. If `false`, then call `Ethernet.setLinkState(true)`.
Expand Down

0 comments on commit d6e1677

Please sign in to comment.