]> granicus.if.org Git - esp-idf/blobdiff - components/freertos/tasks.c
Merge branch 'master' into feature/freertos_static_buffers
[esp-idf] / components / freertos / tasks.c
index e97f264a57d5d6995fb3ddd37d1e8c9421cf849d..386401904a2537e30357218563e9a2998eed67d9 100644 (file)
@@ -3913,9 +3913,8 @@ In fact, nothing below this line has/is.
 
 /* Gotcha (which seems to be deliberate in FreeRTOS, according to
 http://www.freertos.org/FreeRTOS_Support_Forum_Archive/December_2012/freertos_PIC32_Bug_-_vTaskEnterCritical_6400806.html
-) is that calling vTaskEnterCritical followed by vTaskExitCritical will leave the interrupts DISABLED! Re-enabling the
-scheduler will re-enable the interrupts instead. */
-
+) is that calling vTaskEnterCritical followed by vTaskExitCritical will leave the interrupts DISABLED when the scheduler
+is not running.  Re-enabling the scheduler will re-enable the interrupts instead. */
 
 #if ( portCRITICAL_NESTING_IN_TCB == 1 )