A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: udp/dhcp.c
- Revision:
- 65:37acccf2752f
- Parent:
- 61:aad055f1b0d1
- Child:
- 66:18a10c0b6d93
--- a/udp/dhcp.c Wed Jan 17 20:44:04 2018 +0000 +++ b/udp/dhcp.c Thu Jan 18 18:12:43 2018 +0000 @@ -3,7 +3,7 @@ #include <string.h> #include "log.h" -#include "clock.h" +#include "tick.h" #include "net.h" #include "action.h" #include "eth.h" @@ -58,7 +58,7 @@ uint32_t DhcpElapsedTime = 0; //Reset whenever an IP address request has been acknowledged void DhcpMain() { - if (ClockTicked) + if (TickTicked) { DhcpElapsedTime++; delayTime++;