summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 8ad912d43..c55ca26cb 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -27,9 +27,11 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
__asmcall int main ( void ) {
+ /* Perform one-time-only initialisation (e.g. heap) */
+ initialise();
+
/* Some devices take an unreasonably long time to initialise */
printf ( PRODUCT_SHORT_NAME " initialising devices..." );
- initialise();
startup();
printf ( "ok\n" );