mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 01:28:32 -04:00
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:
parent
c519ba094d
commit
902f9e1a58
22 changed files with 649 additions and 156 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue