Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: udp/tftp.c
- Revision:
- 66:18a10c0b6d93
- Parent:
- 65:37acccf2752f
- Child:
- 83:08c983006a6e
--- a/udp/tftp.c Thu Jan 18 18:12:43 2018 +0000 +++ b/udp/tftp.c Fri Jan 19 19:47:37 2018 +0000 @@ -15,7 +15,7 @@ #include "dns.h" #include "mac.h" #include "tftp.h" -#include "tick.h" +#include "clock.h" bool TftpTrace = false; @@ -299,7 +299,7 @@ { if (TftpWriteStatus == TFTP_WRITE_STATUS_IN_PROGRESS) { - if (TickTicked) elapsed++; + if (ClockTicked) elapsed++; if (elapsed > WRITE_TIMEOUT_SECS) { TftpWriteStatus = TFTP_WRITE_STATUS_NONE;