Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: platform/mbed_retarget.cpp
- Revision:
- 163:74e0ce7f98e8
- Parent:
- 160:d5399cc887bb
- Child:
- 167:e84263d55307
diff -r e13f6fdb2ac4 -r 74e0ce7f98e8 platform/mbed_retarget.cpp
--- a/platform/mbed_retarget.cpp Wed Apr 12 16:21:43 2017 +0100
+++ b/platform/mbed_retarget.cpp Fri Apr 28 14:04:18 2017 +0100
@@ -120,6 +120,7 @@
#endif
}
+#if MBED_CONF_FILESYSTEM_PRESENT
static inline int openmode_to_posix(int openmode) {
int posix = openmode;
#ifdef __ARMCC_VERSION
@@ -154,6 +155,7 @@
#endif
return posix;
}
+#endif
extern "C" WEAK void mbed_sdk_init(void);
extern "C" WEAK void mbed_sdk_init(void) {
