Skip to content

Commit c73a4af

Browse files
committed
Applied the generated formatting patch
1 parent 68fea95 commit c73a4af

File tree

5 files changed

+50
-50
lines changed

5 files changed

+50
-50
lines changed

portable/GCC/MSP430F449/portmacro.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,16 @@ typedef unsigned short UBaseType_t;
7777
/* Critical section control macros. */
7878
#define portNO_CRITICAL_SECTION_NESTING ( ( uint16_t ) 0 )
7979

80-
#define portENTER_CRITICAL() \
81-
{ \
82-
extern volatile uint16_t usCriticalNesting; \
83-
\
84-
portDISABLE_INTERRUPTS(); \
85-
\
86-
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
87-
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
88-
/* times portENTER_CRITICAL() has been called. */ \
89-
usCriticalNesting++; \
80+
#define portENTER_CRITICAL() \
81+
{ \
82+
extern volatile uint16_t usCriticalNesting; \
83+
\
84+
portDISABLE_INTERRUPTS(); \
85+
\
86+
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
87+
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
88+
/* times portENTER_CRITICAL() has been called. */ \
89+
usCriticalNesting++; \
9090
}
9191

9292
#define portEXIT_CRITICAL() \

portable/GCC/RL78/portmacro.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,16 @@ typedef unsigned short UBaseType_t;
7373
/* Critical section control macros. */
7474
#define portNO_CRITICAL_SECTION_NESTING ( ( unsigned short ) 0 )
7575

76-
#define portENTER_CRITICAL() \
77-
{ \
78-
extern volatile uint16_t usCriticalNesting; \
79-
\
80-
portDISABLE_INTERRUPTS(); \
81-
\
82-
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
83-
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
84-
/* times portENTER_CRITICAL() has been called. */ \
85-
usCriticalNesting++; \
76+
#define portENTER_CRITICAL() \
77+
{ \
78+
extern volatile uint16_t usCriticalNesting; \
79+
\
80+
portDISABLE_INTERRUPTS(); \
81+
\
82+
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
83+
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
84+
/* times portENTER_CRITICAL() has been called. */ \
85+
usCriticalNesting++; \
8686
}
8787

8888
#define portEXIT_CRITICAL() \

portable/IAR/78K0R/portmacro.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,16 @@ typedef unsigned short UBaseType_t;
7878
/* Critical section control macros. */
7979
#define portNO_CRITICAL_SECTION_NESTING ( ( uint16_t ) 0 )
8080

81-
#define portENTER_CRITICAL() \
82-
{ \
83-
extern volatile uint16_t usCriticalNesting; \
84-
\
85-
portDISABLE_INTERRUPTS(); \
86-
\
87-
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
88-
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
89-
/* times portENTER_CRITICAL() has been called. */ \
90-
usCriticalNesting++; \
81+
#define portENTER_CRITICAL() \
82+
{ \
83+
extern volatile uint16_t usCriticalNesting; \
84+
\
85+
portDISABLE_INTERRUPTS(); \
86+
\
87+
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
88+
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
89+
/* times portENTER_CRITICAL() has been called. */ \
90+
usCriticalNesting++; \
9191
}
9292

9393
#define portEXIT_CRITICAL() \

portable/IAR/RL78/portmacro.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,16 @@
9696
/* Critical section control macros. */
9797
#define portNO_CRITICAL_SECTION_NESTING ( ( uint16_t ) 0 )
9898

99-
#define portENTER_CRITICAL() \
100-
{ \
101-
extern volatile uint16_t usCriticalNesting; \
102-
\
103-
portDISABLE_INTERRUPTS(); \
104-
\
105-
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
106-
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
107-
/* times portENTER_CRITICAL() has been called. */ \
108-
usCriticalNesting++; \
99+
#define portENTER_CRITICAL() \
100+
{ \
101+
extern volatile uint16_t usCriticalNesting; \
102+
\
103+
portDISABLE_INTERRUPTS(); \
104+
\
105+
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
106+
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
107+
/* times portENTER_CRITICAL() has been called. */ \
108+
usCriticalNesting++; \
109109
}
110110

111111
#define portEXIT_CRITICAL() \

portable/IAR/V850ES/portmacro.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,16 @@ typedef unsigned long UBaseType_t;
7878
/* Critical section control macros. */
7979
#define portNO_CRITICAL_SECTION_NESTING ( ( UBaseType_t ) 0 )
8080

81-
#define portENTER_CRITICAL() \
82-
{ \
83-
extern volatile /*uint16_t*/ portSTACK_TYPE usCriticalNesting; \
84-
\
85-
portDISABLE_INTERRUPTS(); \
86-
\
87-
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
88-
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
89-
/* times portENTER_CRITICAL() has been called. */ \
90-
usCriticalNesting++; \
81+
#define portENTER_CRITICAL() \
82+
{ \
83+
extern volatile /*uint16_t*/ portSTACK_TYPE usCriticalNesting; \
84+
\
85+
portDISABLE_INTERRUPTS(); \
86+
\
87+
/* Now that interrupts are disabled, ulCriticalNesting can be accessed */ \
88+
/* directly. Increment ulCriticalNesting to keep a count of how many */ \
89+
/* times portENTER_CRITICAL() has been called. */ \
90+
usCriticalNesting++; \
9191
}
9292

9393
#define portEXIT_CRITICAL() \

0 commit comments

Comments
 (0)