Skip to content

Commit

Permalink
Task: fix compiler warning for architectures that does not define por…
Browse files Browse the repository at this point in the history
…tARMV8M_MINOR_VERSION (#1144)
  • Loading branch information
skotopes authored Sep 11, 2024
1 parent 40031cf commit d806240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/task.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#define tskMPU_REGION_EXECUTE_NEVER ( 1U << 2U )
#define tskMPU_REGION_NORMAL_MEMORY ( 1U << 3U )
#define tskMPU_REGION_DEVICE_MEMORY ( 1U << 4U )
#if ( portARMV8M_MINOR_VERSION >= 1 )
#if defined( portARMV8M_MINOR_VERSION ) && ( portARMV8M_MINOR_VERSION >= 1 )
#define tskMPU_REGION_PRIVILEGED_EXECUTE_NEVER ( 1U << 5U )
#endif /* portARMV8M_MINOR_VERSION >= 1 */

Expand Down

0 comments on commit d806240

Please sign in to comment.