Skip to content

Commit 80a10cd

Browse files
author
Deepika
committed
Version check not needed as driver in part of mbed-os
1 parent dc45990 commit 80a10cd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

components/storage/blockdevice/COMPONENT_SD/SDBlockDevice.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,6 @@
142142
#include "mbed_debug.h"
143143
#include <errno.h>
144144

145-
/* Required version: 5.9.0 and above */
146-
#if defined(MBED_MAJOR_VERSION) && MBED_MAJOR_VERSION >= 5
147-
#if (MBED_VERSION < MBED_ENCODE_VERSION(5,9,0))
148-
#error "Incompatible mbed-os version detected! Required 5.9.0 and above"
149-
#endif
150-
#else
151-
#warning "mbed-os version 5.9.0 or above required"
152-
#endif
153-
154145
#ifndef MBED_CONF_SD_CMD_TIMEOUT
155146
#define MBED_CONF_SD_CMD_TIMEOUT 5000 /*!< Timeout in ms for response */
156147
#endif

0 commit comments

Comments
 (0)