From cffea7e3c4bcb7334b6121be0549d91b367188d2 Mon Sep 17 00:00:00 2001 From: Simon D Hughes Date: Tue, 31 Jan 2017 14:04:48 +0000 Subject: [PATCH] Remove unnecesary symbol definitions. --- features/TESTS/filesystem/basic/basic.cpp | 9 +++++---- features/TESTS/filesystem/fopen/fopen.cpp | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/features/TESTS/filesystem/basic/basic.cpp b/features/TESTS/filesystem/basic/basic.cpp index 0377ad7b27..bfa5efb1b4 100644 --- a/features/TESTS/filesystem/basic/basic.cpp +++ b/features/TESTS/filesystem/basic/basic.cpp @@ -69,11 +69,12 @@ using namespace utest::v1; * FSFAT_SDCARD_INSTALLTED * For testing purposes, an SDCard must be installed on the target for the test cases in this file to succeed. * If the target has an SD card installed then uncomment the #define FSFAT_SDCARD_INSTALLED directive for the target. + * + * Notes + * The following 2 lines should be instated to perform the tests in this file: + * #define FSFAT_SDCARD_INSTALLED + * #define DEVICE_SPI */ -/* #define FSFAT_SDCARD_INSTALLED */ -//todo: remove next 2 lines. -#define FSFAT_SDCARD_INSTALLED -#define DEVICE_SPI #if defined(DEVICE_SPI) && defined(FSFAT_SDCARD_INSTALLED) #if defined(TARGET_KL25Z) diff --git a/features/TESTS/filesystem/fopen/fopen.cpp b/features/TESTS/filesystem/fopen/fopen.cpp index ef84dabbb3..f21e5778c5 100644 --- a/features/TESTS/filesystem/fopen/fopen.cpp +++ b/features/TESTS/filesystem/fopen/fopen.cpp @@ -52,11 +52,12 @@ using namespace utest::v1; * FSFAT_SDCARD_INSTALLTED * For testing purposes, an SDCard must be installed on the target for the test cases in this file to succeed. * If the target has an SD card installed then uncomment the #define FSFAT_SDCARD_INSTALLED directive for the target. + * + * Notes + * The following 2 lines should be instated to perform the tests in this file: + * #define FSFAT_SDCARD_INSTALLED + * #define DEVICE_SPI */ -/* #define FSFAT_SDCARD_INSTALLED */ -// todo: remove next 2 lines -#define DEVICE_SPI -#define FSFAT_SDCARD_INSTALLED #if defined(DEVICE_SPI) && defined(FSFAT_SDCARD_INSTALLED) static char fsfat_fopen_utest_msg_g[FSFAT_UTEST_MSG_BUF_SIZE];