Skip to content

Commit 9706a69

Browse files
authored
Fix: testing for mpu wrapers to be equal to 1 (#285)
1 parent cb7bef0 commit 9706a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mpu_wrappers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
/* This file redefines API functions to be called through a wrapper macro, but
3131
* only for ports that are using the MPU. */
32-
#ifdef portUSING_MPU_WRAPPERS
32+
#if ( portUSING_MPU_WRAPPERS == 1 )
3333

3434
/* MPU_WRAPPERS_INCLUDED_FROM_API_FILE will be defined when this file is
3535
* included from queue.c or task.c to prevent it from having an effect within

0 commit comments

Comments
 (0)