aboutsummaryrefslogtreecommitdiffstats
path: root/test/testheap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testheap.c')
-rw-r--r--test/testheap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testheap.c b/test/testheap.c
index e160143aa..667b64cb2 100644
--- a/test/testheap.c
+++ b/test/testheap.c
@@ -63,7 +63,7 @@ static memory_heap_t test_heap;
static void heap1_setup(void) {
- chHeapInit(&test_heap, test.buffer, sizeof(union test_buffers));
+ chHeapObjectInit(&test_heap, test.buffer, sizeof(union test_buffers));
}
static void heap1_execute(void) {