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: ip6/icmp/ndp/rs.c
- 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