aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8S-STM8S208-RC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM8S-STM8S208-RC/main.c')
-rw-r--r--demos/STM8S-STM8S208-RC/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/demos/STM8S-STM8S208-RC/main.c b/demos/STM8S-STM8S208-RC/main.c
index 4e714fc15..c676f05d5 100644
--- a/demos/STM8S-STM8S208-RC/main.c
+++ b/demos/STM8S-STM8S208-RC/main.c
@@ -38,18 +38,18 @@ static msg_t Thread1(void *arg) {
}
/*
- * Entry point.
+ * Application entry point.
*/
void main(void) {
/*
- * Board/HAL initialization.
- */
- hwinit();
-
- /*
- * OS 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();
chSysInit();
/*