mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Convert more ports to use xTaskIncrementTick() in place of vTaskIncrementTick().
This commit is contained in:
parent
15ec6c87f7
commit
f904d26957
18 changed files with 61 additions and 75 deletions
|
@ -304,17 +304,13 @@ __interrupt static void prvTickISR( void )
|
|||
necessitates. */
|
||||
__set_interrupt_level( configMAX_SYSCALL_INTERRUPT_PRIORITY );
|
||||
{
|
||||
vTaskIncrementTick();
|
||||
if( xTaskIncrementTick() != pdFALSE )
|
||||
{
|
||||
taskYIELD();
|
||||
}
|
||||
}
|
||||
__set_interrupt_level( configKERNEL_INTERRUPT_PRIORITY );
|
||||
|
||||
/* Only select a new task if the preemptive scheduler is being used. */
|
||||
#if( configUSE_PREEMPTION == 1 )
|
||||
{
|
||||
taskYIELD();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if configUSE_TICKLESS_IDLE == 1
|
||||
{
|
||||
/* The CPU woke because of a tick. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue