]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio/Source/Low_Power_Demo/low_power_tick_management_RTC.c
Kernel source code:
[freertos] / FreeRTOS / Demo / CORTEX_EFM32_Gecko_Starter_Kit_Simplicity_Studio / Source / Low_Power_Demo / low_power_tick_management_RTC.c
index cadbffb58e546295d8e8e373c9804f764e875769..1ce6ee237eaa3ac1533736123a011a515f53c342 100644 (file)
@@ -217,9 +217,9 @@ TickType_t xModifiableIdleTime;
        RTC_Enable( false );\r
 \r
        /* If this function is re-entered before one complete tick period then the\r
-       reload value might be to take into account a partial tick, but just reading\r
-       the count assumes it is counting up to a full ticks worth - so add in the\r
-       different if any. */\r
+       reload value might be set to take into account a partial time slice, but\r
+       just reading the count assumes it is counting up to a full ticks worth - so\r
+       add in the difference if any. */\r
        ulCountBeforeSleep += ( ulReloadValueForOneTick - RTC_CompareGet( 0 ) );\r
 \r
        /* Enter a critical section but don't use the taskENTER_CRITICAL() method as\r