aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8L-STM8L152-DISCOVERY-STVD/demo
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-19 12:50:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-12-19 12:50:56 +0000
commit675adde160fba196043bb471ae36a222238db49e (patch)
tree20a09aa8dc7d904e18b8663ddcd40da667fab95e /demos/STM8L-STM8L152-DISCOVERY-STVD/demo
parent7c1828c96c3b05cba909d6051d112725f2310d66 (diff)
downloadChibiOS-675adde160fba196043bb471ae36a222238db49e.tar.gz
ChibiOS-675adde160fba196043bb471ae36a222238db49e.tar.bz2
ChibiOS-675adde160fba196043bb471ae36a222238db49e.zip
STM8 board files and demos updated.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2509 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM8L-STM8L152-DISCOVERY-STVD/demo')
-rw-r--r--demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
index d1545a84d..6245449cf 100644
--- a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
+++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
@@ -42,18 +42,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();
/*