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