Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 0875967

Browse files
authored
Merge pull request #437 from robszewczyk/bug/typo-in-FreeRTOSTicksSinceBoot
Typo: timeout vs. timeOut
2 parents 1a8e151 + 92cc76d commit 0875967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adaptations/device-layer/FreeRTOS/SystemTimeSupport.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ uint64_t FreeRTOSTicksSinceBoot(void)
7171
{
7272
// Note that sNumOverflows may be quite stale, and under those
7373
// circumstances, the function may violate monotonicity guarantees
74-
timeout.xTimeOnEntering = xTaskGetTickCountFromISR();
75-
timeout.xOverflowCount = sNumOfOverflows;
74+
timeOut.xTimeOnEntering = xTaskGetTickCountFromISR();
75+
timeOut.xOverflowCount = sNumOfOverflows;
7676
}
7777
else
7878
{

0 commit comments

Comments
 (0)