aboutsummaryrefslogtreecommitdiffstats
path: root/demos/Posix-GCC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/Posix-GCC/main.c')
-rw-r--r--demos/Posix-GCC/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/Posix-GCC/main.c b/demos/Posix-GCC/main.c
index 28e136bc8..fdce30ffd 100644
--- a/demos/Posix-GCC/main.c
+++ b/demos/Posix-GCC/main.c
@@ -169,13 +169,13 @@ int main(void) {
EventListener sd1fel, sd2fel, tel;
/*
- * HAL initialization.
+ * System initializations.
+ * - HAL initialization, this also initializes the configured device drivers
+ * and performs the board-specific initializations.
+ * - Kernel initialization, the main() function becomes a thread and the
+ * RTOS is active.
*/
halInit();
-
- /*
- * ChibiOS/RT initialization.
- */
chSysInit();
/*