Commit d04e751
authored
Remove unnecessary MY_IP_RENEWAL_INTERVAL* (#1429)
* Remove unnecessary MY_IP_RENEWAL_INTERVAL*
Ethernet.maintain already checks when we need to renew, based on
the lease time given by the DHCP server.
https://www.arduino.cc/en/Reference/EthernetMaintain recommends
"just call it on every loop() invocation" so there is no
need for us to keep a separate timer.
* Remove call to _w5100_spi_en
This function doesn't enable SPI, so it should not
disable it either. Let calling functions handle SPI
enable/disable.1 parent 46f243c commit d04e751
File tree
4 files changed
+0
-23
lines changed- core
- examples/GatewayW5100
4 files changed
+0
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1582 | 1582 | | |
1583 | 1583 | | |
1584 | 1584 | | |
1585 | | - | |
1586 | | - | |
1587 | | - | |
1588 | | - | |
1589 | | - | |
1590 | | - | |
1591 | | - | |
1592 | | - | |
1593 | 1585 | | |
1594 | 1586 | | |
1595 | 1587 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | 153 | | |
161 | 154 | | |
162 | | - | |
163 | 155 | | |
164 | | - | |
165 | | - | |
166 | 156 | | |
167 | 157 | | |
168 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 87 | | |
91 | 88 | | |
92 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
275 | | - | |
276 | 274 | | |
277 | 275 | | |
278 | 276 | | |
| |||
0 commit comments