Files
rt-thread/examples/module/basicapp/basicapp.c
qiuyiuestc 9555bf2975 clean up module config file and SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1113 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-25 00:35:06 +00:00

27 lines
355 B
C

#include <rtthread.h>
int a = 0;
int b = 1000000;
int c = 0;
static void function(int count1, int count2, int count3)
{
rt_kprintf("Hello RT-Thread %d %d\n", count1, count2, count3);
}
int rt_application_init(void)
{
int i;
rt_kprintf("application entry\n");
for(i=0; i<100; i++)
{
a++;
b--;
c++;
function(a, c, b );
}
return 0;
}