Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
132:db2174b36a6d
Parent:
119:8e1a7805b801
Child:
133:a37eb35a03f1
--- a/ip6/icmp/ndp/rs.c	Tue Mar 19 12:12:26 2019 +0000
+++ b/ip6/icmp/ndp/rs.c	Wed Mar 20 10:55:30 2019 +0000
@@ -54,7 +54,7 @@
     }
 
     //Limit retries with a backoff delay
-    if (!MsTimerHasElapsed(repeatDelayMsTimer, delayMs)) return DO_NOTHING;        //Don't retry within the delay time
+    if (!MsTimerInterval(repeatDelayMsTimer, delayMs)) return DO_NOTHING;          //Don't retry within the delay time
     delayMs <<= 1;                                                                 //Backoff (double) the delay time after each attempt
     if (delayMs > MAX_REPEAT_DELAY_TIME_MS) delayMs = MAX_REPEAT_DELAY_TIME_MS;    //Don't go beyond a maximum
     repeatDelayMsTimer = MsTimerCount;                                             //Start the delay timer