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/tftp/tftp.c
- Revision:
- 133:a37eb35a03f1
- Parent:
- 132:db2174b36a6d
- Child:
- 160:6a1d1d368f80
--- a/udp/tftp/tftp.c Wed Mar 20 10:55:30 2019 +0000 +++ b/udp/tftp/tftp.c Wed Mar 20 11:20:44 2019 +0000 @@ -201,7 +201,7 @@ if (TftpWriteStatus == TFTP_WRITE_STATUS_NONE) writeStartMs = MsTimerCount; - if (MsTimerInterval(writeStartMs, WRITE_TIMEOUT_MS)) + if (MsTimerRelative(writeStartMs, WRITE_TIMEOUT_MS)) { LogTime("TFTP - write operation timed out so reset\r\n"); writeStartMs = MsTimerCount;