Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

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;