mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-18 09:08:33 -04:00
Convert some ports to use xTaskIncrementTick() in place of vTaskIncrementTick().
Move DSB instructions to before WFI instructions in line with ARM recommendations.
This commit is contained in:
parent
4e9374ad90
commit
686d190798
27 changed files with 128 additions and 142 deletions
|
@ -170,12 +170,11 @@ void interrupt31_handler( void )
|
|||
static void prvProcessTick( void ) __attribute__((noinline));
|
||||
static void prvProcessTick( void )
|
||||
{
|
||||
vTaskIncrementTick();
|
||||
|
||||
#if configUSE_PREEMPTION == 1
|
||||
if( xTaskIncrementTick() != pdFALSE )
|
||||
{
|
||||
vTaskSwitchContext();
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
/* Clear the Tick Interrupt. */
|
||||
counter1->expired = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue