From 3e94b86a78b799bbbee4360fd64d2dd88685bd03 Mon Sep 17 00:00:00 2001 From: ccli8 Date: Thu, 3 Jan 2019 09:21:05 +0800 Subject: [PATCH] Refine MBED_CONF_RTOS_PRESENT check in crypto_misc.cpp --- targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp | 2 +- targets/TARGET_NUVOTON/TARGET_NUC472/crypto/crypto-misc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp b/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp index 811715119a..13000985af 100644 --- a/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp +++ b/targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp @@ -19,7 +19,7 @@ #include "mbed_assert.h" #include "mbed_critical.h" #include "mbed_error.h" -#if defined(MBED_CONF_RTOS_PRESENT) && MBED_CONF_RTOS_PRESENT +#if MBED_CONF_RTOS_PRESENT #include "cmsis_os2.h" #endif #include diff --git a/targets/TARGET_NUVOTON/TARGET_NUC472/crypto/crypto-misc.cpp b/targets/TARGET_NUVOTON/TARGET_NUC472/crypto/crypto-misc.cpp index 7f5b77cd9e..f771a3e510 100644 --- a/targets/TARGET_NUVOTON/TARGET_NUC472/crypto/crypto-misc.cpp +++ b/targets/TARGET_NUVOTON/TARGET_NUC472/crypto/crypto-misc.cpp @@ -19,7 +19,7 @@ #include "mbed_assert.h" #include "mbed_critical.h" #include "mbed_error.h" -#if defined(MBED_CONF_RTOS_PRESENT) && MBED_CONF_RTOS_PRESENT +#if MBED_CONF_RTOS_PRESENT #include "cmsis_os2.h" #endif #include