From 9706a69850031c3f4152601152593460a13ff96c Mon Sep 17 00:00:00 2001 From: alfred gedeon <28123637+alfred2g@users.noreply.github.com> Date: Fri, 19 Mar 2021 17:44:12 -0700 Subject: [PATCH] Fix: testing for mpu wrapers to be equal to 1 (#285) --- include/mpu_wrappers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mpu_wrappers.h b/include/mpu_wrappers.h index a5c081ff7..6550c1e6a 100644 --- a/include/mpu_wrappers.h +++ b/include/mpu_wrappers.h @@ -29,7 +29,7 @@ /* This file redefines API functions to be called through a wrapper macro, but * only for ports that are using the MPU. */ -#ifdef portUSING_MPU_WRAPPERS +#if ( portUSING_MPU_WRAPPERS == 1 ) /* MPU_WRAPPERS_INCLUDED_FROM_API_FILE will be defined when this file is * included from queue.c or task.c to prevent it from having an effect within