Update PIC32 demo application to remove reliance on PLIB functions.

Update the default low power implementation in all the Cortex-M port layers to add a small critical section.
This commit is contained in:
Richard Barry 2013-02-18 16:41:11 +00:00
parent c519ba094d
commit 902f9e1a58
22 changed files with 649 additions and 156 deletions

View file

@ -2201,7 +2201,7 @@ static portTASK_FUNCTION( prvIdleTask, pvParameters )
/* If timers are not being used and all the tasks are in the
suspended list (which might mean they have an infinite block
time rather than actually being suspended) then it is safe to
turn all clocks off and just wait for external initerrupts. */
turn all clocks off and just wait for external interrupts. */
if( listCURRENT_LIST_LENGTH( &xSuspendedTaskList ) == ( uxCurrentNumberOfTasks - uxNonApplicationTasks ) )
{
eReturn = eNoTasksWaitingTimeout;