summaryrefslogtreecommitdiff
path: root/src/components.c
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-11-09 09:17:43 +0800
committerBernard Xiong <[email protected]>2018-11-09 09:17:43 +0800
commitd1c177f48b6c53cc007c4a37954b42b50a813620 (patch)
tree0aa613bae2b57b00fddc6ee029874dd3ae8c19c8 /src/components.c
parent0f1d437844e5843596d7599070312b0ef466115e (diff)
[Kernel] Fix typo.
Diffstat (limited to 'src/components.c')
-rw-r--r--src/components.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components.c b/src/components.c
index 679a88ef11..68e5799f59 100644
--- a/src/components.c
+++ b/src/components.c
@@ -44,7 +44,7 @@
*
* rti_end --> 6.end
*
- * These automatically initializaiton, the driver or component initial function must
+ * These automatically initialization, the driver or component initial function must
* be defined with:
* INIT_BOARD_EXPORT(fn);
* INIT_DEVICE_EXPORT(fn);
@@ -109,7 +109,7 @@ void rt_components_init(void)
int result;
const struct rt_init_desc *desc;
- rt_kprintf("do components intialization.\n");
+ rt_kprintf("do components initialization.\n");
for (desc = &__rt_init_desc_rti_board_end; desc < &__rt_init_desc_rti_end; desc ++)
{
rt_kprintf("initialize %s", desc->fn_name);
@@ -215,7 +215,7 @@ int rtthread_startup(void)
{
rt_hw_interrupt_disable();
- /* board level initalization
+ /* board level initialization
* NOTE: please initialize heap inside board initialization.
*/
rt_hw_board_init();