Comment vPortEnterCritical/vPortExitCritical functions

This commit is contained in:
Angus Gratton 2015-05-21 12:13:18 +10:00
parent df9e9bf9a4
commit 8e174aa518
2 changed files with 7 additions and 17 deletions

View file

@ -199,6 +199,13 @@ void vPortEndScheduler( void )
variable. */
static unsigned portBASE_TYPE uxCriticalNesting = 0;
/* These nested vPortEnter/ExitCritical macros are called by SDK
* libraries in libmain, libnet80211, libpp
*
* It may be possible to replace the global nesting count variable
* with a save/restore of interrupt level, although it's difficult as
* the functions have no return value.
*/
void vPortEnterCritical( void )
{
portDISABLE_INTERRUPTS();