aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt/testheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rt/testheap.c')
-rw-r--r--test/rt/testheap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rt/testheap.c b/test/rt/testheap.c
index 6686f8389..b1ab00103 100644
--- a/test/rt/testheap.c
+++ b/test/rt/testheap.c
@@ -44,7 +44,7 @@
* @brief Heap header file
*/
-#if (CH_CFG_USE_HEAP && !CH_CFG_USE_MALLOC_HEAP) || defined(__DOXYGEN__)
+#if CH_CFG_USE_HEAP || defined(__DOXYGEN__)
#define SIZE 16
@@ -152,7 +152,7 @@ ROMCONST struct testcase testheap1 = {
* @brief Test sequence for heap.
*/
ROMCONST struct testcase * ROMCONST patternheap[] = {
-#if (CH_CFG_USE_HEAP && !CH_CFG_USE_MALLOC_HEAP) || defined(__DOXYGEN__)
+#if CH_CFG_USE_HEAP || defined(__DOXYGEN__)
&testheap1,
#endif
NULL