File tree Expand file tree Collapse file tree
Source/portable/GCC/ARM_CM0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ uint32_t ulSetInterruptMaskFromISR( void )
252252 ::: "memory"
253253 );
254254
255- #if !defined (__ARMCC_VERSION ) && (__ARMCC_VERSION >= 6010050 )
255+ #if !( defined (__ARMCC_VERSION ) && (__ARMCC_VERSION >= 6010050 ) )
256256 /* To avoid compiler warnings. The return statement will nevere be reached,
257257 but some compilers warn if it is not included, while others won't compile if
258258 it is. */
@@ -269,7 +269,7 @@ void vClearInterruptMaskFromISR( __attribute__( ( unused ) ) uint32_t ulMask )
269269 ::: "memory"
270270 );
271271
272- #if !defined (__ARMCC_VERSION ) && (__ARMCC_VERSION >= 6010050 )
272+ #if !( defined (__ARMCC_VERSION ) && (__ARMCC_VERSION >= 6010050 ) )
273273 /* Just to avoid compiler warning. ulMask is used from the asm code but
274274 the compiler can't see that. Some compilers generate warnings without the
275275 following line, while others generate warnings if the line is included. */
You can’t perform that action at this time.
0 commit comments