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