Skip to content

Commit ad1e57b

Browse files
committed
[Nuvoton] Refine MBED_CONF_RTOS_PRESENT check in crypto_misc.cpp
1 parent 39f705e commit ad1e57b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/TARGET_NUVOTON/TARGET_M480/crypto/crypto-misc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "mbed_assert.h"
2020
#include "mbed_critical.h"
2121
#include "mbed_error.h"
22-
#if defined(MBED_CONF_RTOS_PRESENT) && MBED_CONF_RTOS_PRESENT
22+
#if MBED_CONF_RTOS_PRESENT
2323
#include "cmsis_os2.h"
2424
#endif
2525
#include <string.h>

targets/TARGET_NUVOTON/TARGET_NUC472/crypto/crypto-misc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "mbed_assert.h"
2020
#include "mbed_critical.h"
2121
#include "mbed_error.h"
22-
#if defined(MBED_CONF_RTOS_PRESENT) && MBED_CONF_RTOS_PRESENT
22+
#if MBED_CONF_RTOS_PRESENT
2323
#include "cmsis_os2.h"
2424
#endif
2525
#include <string.h>

0 commit comments

Comments
 (0)