Don't use define checks on DEVICE_FOO macros (mbed code)
The DEVICE_FOO macros are always defined (either 0 or 1). This patch replaces any instances of a define check on a DEVICE_FOO macro with value test instead. Signed-off-by: Alastair D'Silva <alastair@d-silva.org> |
---|
|
TESTS/mbed_hal/sleep/main.cpp |
---|
TESTS/mbed_hal/sleep/sleep_test_utils.h |
---|
TESTS/mbed_platform/stats_cpu/main.cpp |
---|
components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.cpp |
---|
components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.h |
---|
components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.cpp |
---|
components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.h |
---|
components/storage/blockdevice/COMPONENT_SD/TESTS/filesystem/fopen/fopen.cpp |
---|
drivers/FlashIAP.cpp |
---|
drivers/MbedCRC.h |
---|
drivers/QSPI.h |
---|
features/cryptocell/FEATURE_CRYPTOCELL310/trng.c |
---|
features/device_key/TESTS/device_key/functionality/main.cpp |
---|
features/device_key/source/DeviceKey.cpp |
---|
features/device_key/source/DeviceKey.h |
---|
features/mbedtls/platform/inc/platform_mbed.h |
---|
features/mbedtls/platform/src/mbed_trng.c |
---|
features/storage/nvstore/source/nvstore.h |
---|
features/unsupported/tests/utest/general/general.cpp |
---|
hal/crc_api.h |
---|
hal/itm_api.h |
---|
hal/mbed_itm_api.c |
---|
hal/mbed_sleep_manager.c |
---|
platform/mbed_stats.c |
---|
rtos/TARGET_CORTEX/SysTimer.h |
---|
rtos/TARGET_CORTEX/mbed_rtx_idle.cpp |
---|