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:
- 65:37acccf2752f
- Parent:
- 61:aad055f1b0d1
- Child:
- 66:18a10c0b6d93
diff -r 2f5db0839b09 -r 37acccf2752f udp/tftp.c
--- a/udp/tftp.c Wed Jan 17 20:44:04 2018 +0000
+++ b/udp/tftp.c Thu Jan 18 18:12:43 2018 +0000
@@ -15,7 +15,7 @@
#include "dns.h"
#include "mac.h"
#include "tftp.h"
-#include "clock.h"
+#include "tick.h"
bool TftpTrace = false;
@@ -299,7 +299,7 @@
{
if (TftpWriteStatus == TFTP_WRITE_STATUS_IN_PROGRESS)
{
- if (ClockTicked) elapsed++;
+ if (TickTicked) elapsed++;
if (elapsed > WRITE_TIMEOUT_SECS)
{
TftpWriteStatus = TFTP_WRITE_STATUS_NONE;