mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-01 11:53:53 -04:00
Style: Revert uncrustify for portable directories (#122)
* Style: revert uncrustify portable directories * Style: Uncrustify Some Portable files Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
This commit is contained in:
parent
a6da1cd0ce
commit
86653e2a1f
273 changed files with 64802 additions and 65931 deletions
|
@ -25,54 +25,54 @@
|
|||
* 1 tab == 4 spaces!
|
||||
*/
|
||||
|
||||
/*
|
||||
* Changes from V3.0.0
|
||||
+ ISRcode pulled inline to reduce stack-usage.
|
||||
+
|
||||
+ Added functionality to only call vTaskSwitchContext() once
|
||||
+ when handling multiple interruptsources in a single interruptcall.
|
||||
+
|
||||
+ Filename changed to a .c extension to allow stepping through code
|
||||
+ using F7.
|
||||
+
|
||||
+ Changes from V3.0.1
|
||||
*/
|
||||
/*
|
||||
Changes from V3.0.0
|
||||
+ ISRcode pulled inline to reduce stack-usage.
|
||||
|
||||
+ Added functionality to only call vTaskSwitchContext() once
|
||||
when handling multiple interruptsources in a single interruptcall.
|
||||
|
||||
+ Filename changed to a .c extension to allow stepping through code
|
||||
using F7.
|
||||
|
||||
Changes from V3.0.1
|
||||
*/
|
||||
|
||||
/*
|
||||
* ISR for the tick.
|
||||
* This increments the tick count and, if using the preemptive scheduler,
|
||||
* performs a context switch. This must be identical to the manual
|
||||
* context switch in how it stores the context of a task.
|
||||
* This increments the tick count and, if using the preemptive scheduler,
|
||||
* performs a context switch. This must be identical to the manual
|
||||
* context switch in how it stores the context of a task.
|
||||
*/
|
||||
|
||||
#ifndef _FREERTOS_DRIVERS_TICK_ISRTICK_C
|
||||
#define _FREERTOS_DRIVERS_TICK_ISRTICK_C
|
||||
|
||||
{
|
||||
/*
|
||||
* Was the interrupt the SystemClock?
|
||||
*/
|
||||
if( bCCP1IF && bCCP1IE )
|
||||
{
|
||||
/*
|
||||
* Reset the interrupt flag
|
||||
*/
|
||||
bCCP1IF = 0;
|
||||
|
||||
/*
|
||||
* Maintain the tick count.
|
||||
*/
|
||||
if( xTaskIncrementTick() != pdFALSE )
|
||||
{
|
||||
/*
|
||||
* Ask for a switch to the highest priority task
|
||||
* that is ready to run.
|
||||
*/
|
||||
uxSwitchRequested = pdTRUE;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* Was the interrupt the SystemClock?
|
||||
*/
|
||||
if( bCCP1IF && bCCP1IE )
|
||||
{
|
||||
/*
|
||||
* Reset the interrupt flag
|
||||
*/
|
||||
bCCP1IF = 0;
|
||||
|
||||
/*
|
||||
* Maintain the tick count.
|
||||
*/
|
||||
if( xTaskIncrementTick() != pdFALSE )
|
||||
{
|
||||
/*
|
||||
* Ask for a switch to the highest priority task
|
||||
* that is ready to run.
|
||||
*/
|
||||
uxSwitchRequested = pdTRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma wizcpp uselib "$__PATHNAME__/Tick.c"
|
||||
|
||||
#endif /* _FREERTOS_DRIVERS_TICK_ISRTICK_C */
|
||||
#endif /* _FREERTOS_DRIVERS_TICK_ISRTICK_C */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue