Commit 2ebb324
authored
Fix native ethernet (#37)
* Replace the default Ethernet library with the NativeEthernet library
The Teensy 4.1 requires a direct replacement for the normal
Ethernet.h library by the NativeEthernet library.
NativeEthernet is a builtin library in platformio, therefore no extra
installations are required.
* fix de-referencing null pointer
The locator struct is not handed over, but the transport_* callbacks
depend on it. This result in a NULL pointer in `transport->args`.1 parent 58a6010 commit 2ebb324
2 files changed
Lines changed: 5 additions & 5 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
0 commit comments