Skip to content

Commit fbdacd1

Browse files
committed
Add small formatting change
1 parent 3ac8598 commit fbdacd1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

portable/ThirdParty/GCC/RP2040/include/portmacro.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ static inline void vPortRecursiveLock( uint32_t ulLockNum,
215215

216216
#ifdef configASSERT
217217
configASSERT( ulLockNum < portRTOS_SPINLOCK_COUNT );
218-
#endif
218+
#endif /* configASSERT */
219219
uint32_t ulCoreNum = get_core_num();
220220
uint32_t ulLockBit = 1u << ulLockNum;
221221
#ifdef configASSERT
222222
configASSERT( ulLockBit < 256u );
223-
#endif
223+
#endif /* configASSERT */
224224

225225
if( uxAcquire )
226226
{
@@ -230,7 +230,7 @@ static inline void vPortRecursiveLock( uint32_t ulLockNum,
230230
{
231231
#ifdef configASSERT
232232
configASSERT( ucRecursionCountByLock[ ulLockNum ] != 255u );
233-
#endif
233+
#endif /* configASSERT */
234234
ucRecursionCountByLock[ ulLockNum ]++;
235235
return;
236236
}
@@ -243,7 +243,7 @@ static inline void vPortRecursiveLock( uint32_t ulLockNum,
243243
__mem_fence_acquire();
244244
#ifdef configASSERT
245245
configASSERT( ucRecursionCountByLock[ ulLockNum ] == 0 );
246-
#endif
246+
#endif /* configASSERT */
247247
ucRecursionCountByLock[ ulLockNum ] = 1;
248248
ucOwnedByCore[ ulCoreNum ] |= ulLockBit;
249249
}
@@ -252,7 +252,7 @@ static inline void vPortRecursiveLock( uint32_t ulLockNum,
252252
#ifdef configASSERT
253253
configASSERT( ( ucOwnedByCore[ ulCoreNum ] & ulLockBit ) != 0 );
254254
configASSERT( ucRecursionCountByLock[ ulLockNum ] != 0 );
255-
#endif
255+
#endif /* configASSERT */
256256

257257
if( !--ucRecursionCountByLock[ ulLockNum ] )
258258
{

0 commit comments

Comments
 (0)