aboutsummaryrefslogtreecommitdiffstats
path: root/src/chinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chinit.c')
-rw-r--r--src/chinit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/chinit.c b/src/chinit.c
index 243ef2a97..5e6788693 100644
--- a/src/chinit.c
+++ b/src/chinit.c
@@ -40,6 +40,12 @@ void chSysInit(void) {
#ifdef CH_USE_VIRTUAL_TIMERS
chVTInit();
#endif
+#ifdef CH_USE_HEAP
+ chHeapInit();
+#endif
+#ifdef CH_USE_HEAP
+ chHeapInit();
+#endif
/*
* Now this instructions flow becomes the main thread.
*/