aboutsummaryrefslogtreecommitdiffstats
path: root/src/chinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chinit.c')
-rw-r--r--src/chinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chinit.c b/src/chinit.c
index 2aee810a0..243ef2a97 100644
--- a/src/chinit.c
+++ b/src/chinit.c
@@ -47,7 +47,7 @@ void chSysInit(void) {
mainthread.p_state = PRCURR;
currp = &mainthread;
- chSysUnlock();
+ chSysEnable();
/*
* The idle thread is created using the port-provided implementation.