4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-25 07:27:20 +08:00
qiuyiuestc 8b8dba661f module developing
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@742 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 14:19:56 +00:00

27 lines
339 B
C

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