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: tcp/tcb.c
- Revision:
- 65:37acccf2752f
- Parent:
- 61:aad055f1b0d1
- Child:
- 66:18a10c0b6d93
diff -r 2f5db0839b09 -r 37acccf2752f tcp/tcb.c --- a/tcp/tcb.c Wed Jan 17 20:44:04 2018 +0000 +++ b/tcp/tcb.c Thu Jan 18 18:12:43 2018 +0000 @@ -1,9 +1,9 @@ #include <stdint.h> -#include "log.h" -#include "tcp.h" -#include "tcb.h" -#include "clock.h" +#include "log.h" +#include "tcp.h" +#include "tcb.h" +#include "tick.h" #define TCB_COUNT 10 @@ -66,7 +66,7 @@ void TcbMain() { - if (ClockTicked) TcbElapsed++; + if (TickTicked) TcbElapsed++; reap(); } void TcbInit()