delete the unnecessary empty lines
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2352 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
9393c29224
commit
e41d961be2
|
@ -1,39 +1,23 @@
|
||||||
/** File : application.c
|
/** File : application.c
|
||||||
|
|
||||||
* This file is part of RT-Thread RTOS
|
* This file is part of RT-Thread RTOS
|
||||||
|
|
||||||
* COPYRIGHT (C) 2006 - 2012, RT-Thread Develop Team
|
* COPYRIGHT (C) 2006 - 2012, RT-Thread Develop Team
|
||||||
|
|
||||||
*
|
*
|
||||||
|
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
|
|
||||||
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
||||||
|
|
||||||
* http://openlab.rt-thread.com/license/LICENSE
|
* http://openlab.rt-thread.com/license/LICENSE
|
||||||
|
|
||||||
*
|
*
|
||||||
|
|
||||||
* Change Logs:
|
* Change Logs:
|
||||||
|
|
||||||
* Date Author Notes
|
* Date Author Notes
|
||||||
|
|
||||||
* 2006-09-15 QiuYi the first version
|
* 2006-09-15 QiuYi the first version
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
* @addtogroup QEMU
|
* @addtogroup QEMU
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*@{*/
|
/*@{*/
|
||||||
|
|
||||||
|
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
ALIGN(RT_ALIGN_SIZE)
|
ALIGN(RT_ALIGN_SIZE)
|
||||||
|
@ -86,16 +70,12 @@ void rt_thread_entry_led2(void *parameter)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
||||||
* This function will be invoked to initalize user application when system
|
* This function will be invoked to initalize user application when system
|
||||||
* startup.
|
* startup.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int rt_application_init(void)
|
int rt_application_init(void)
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
// init led1 thread
|
// init led1 thread
|
||||||
rt_thread_init(&thread_led1,
|
rt_thread_init(&thread_led1,
|
||||||
"led1",
|
"led1",
|
||||||
|
@ -115,10 +95,6 @@ int rt_application_init(void)
|
||||||
rt_thread_startup(&thread_led2);
|
rt_thread_startup(&thread_led2);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue