aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8S-STM8S105-DISCOVERY-STVD/demo
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM8S-STM8S105-DISCOVERY-STVD/demo')
-rw-r--r--demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c
index 35321bf62..41f38ac80 100644
--- a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c
+++ b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/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();
/*