mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Tidy up comments only.
This commit is contained in:
parent
7ddea8fc8b
commit
c72df2f98d
|
@ -157,7 +157,7 @@ BaseType_t xCoRoutineCreate( crCOROUTINE_CODE pxCoRoutineCode, UBaseType_t uxPri
|
||||||
}
|
}
|
||||||
|
|
||||||
// Alternatively, if you do not require any other part of the idle task to
|
// Alternatively, if you do not require any other part of the idle task to
|
||||||
// execute, the idle task hook can call vCoRoutineScheduler() within an
|
// execute, the idle task hook can call vCoRoutineSchedule() within an
|
||||||
// infinite loop.
|
// infinite loop.
|
||||||
void vApplicationIdleHook( void )
|
void vApplicationIdleHook( void )
|
||||||
{
|
{
|
||||||
|
|
|
@ -439,13 +439,13 @@ void xPortSysTickHandler( void )
|
||||||
__disable_interrupt();
|
__disable_interrupt();
|
||||||
__DSB();
|
__DSB();
|
||||||
__ISB();
|
__ISB();
|
||||||
|
|
||||||
/* Disable the SysTick clock without reading the
|
/* Disable the SysTick clock without reading the
|
||||||
portNVIC_SYSTICK_CTRL_REG register to ensure the
|
portNVIC_SYSTICK_CTRL_REG register to ensure the
|
||||||
portNVIC_SYSTICK_COUNT_FLAG_BIT is not cleared if it is set. Again,
|
portNVIC_SYSTICK_COUNT_FLAG_BIT is not cleared if it is set. Again,
|
||||||
the time the SysTick is stopped for is accounted for as best it can
|
the time the SysTick is stopped for is accounted for as best it can
|
||||||
be, but using the tickless mode will inevitably result in some tiny
|
be, but using the tickless mode will inevitably result in some tiny
|
||||||
drift of the time maintained by the kernel with respect to calendar
|
drift of the time maintained by the kernel with respect to calendar
|
||||||
time*/
|
time*/
|
||||||
portNVIC_SYSTICK_CTRL_REG = ( portNVIC_SYSTICK_CLK_BIT | portNVIC_SYSTICK_INT_BIT );
|
portNVIC_SYSTICK_CTRL_REG = ( portNVIC_SYSTICK_CLK_BIT | portNVIC_SYSTICK_INT_BIT );
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-/*
|
/*
|
||||||
* FreeRTOS Kernel V10.2.1
|
* FreeRTOS Kernel V10.2.1
|
||||||
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
* Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue