Comment vPortEnterCritical/vPortExitCritical functions
This commit is contained in:
parent
df9e9bf9a4
commit
8e174aa518
2 changed files with 7 additions and 17 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue