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:
- 66:18a10c0b6d93
- Parent:
- 65:37acccf2752f
- Child:
- 83:08c983006a6e
diff -r 37acccf2752f -r 18a10c0b6d93 udp/dhcp.c --- a/udp/dhcp.c Thu Jan 18 18:12:43 2018 +0000 +++ b/udp/dhcp.c Fri Jan 19 19:47:37 2018 +0000 @@ -3,7 +3,7 @@ #include <string.h> #include "log.h" -#include "tick.h" +#include "clock.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 (TickTicked) + if (ClockTicked) { DhcpElapsedTime++; delayTime++;