aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/cpp_wrappers/ch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'os/various/cpp_wrappers/ch.hpp')
-rw-r--r--os/various/cpp_wrappers/ch.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp
index ab415c5d2..e50aa6df6 100644
--- a/os/various/cpp_wrappers/ch.hpp
+++ b/os/various/cpp_wrappers/ch.hpp
@@ -127,6 +127,7 @@ namespace chibios_rt {
static bool isTimeWithin(systime_t start, systime_t end);
};
+#if CH_CFG_USE_MEMCORE || defined(__DOXYGEN__)
/*------------------------------------------------------------------------*
* chibios_rt::System *
*------------------------------------------------------------------------*/
@@ -173,6 +174,7 @@ namespace chibios_rt {
*/
static size_t getStatus(void);
};
+#endif /* CH_CFG_USE_MEMCORE */
/*------------------------------------------------------------------------*
* chibios_rt::Timer *