support gcc for mini2440 platform(not finished)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@359 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc
2010-02-01 15:16:05 +00:00
parent d2590bb99a
commit ef970b36a2
18 changed files with 36 additions and 39 deletions
+2 -2
View File
@@ -148,8 +148,6 @@ void rt_hw_rtc_init(void)
return;
}
#ifdef RT_USING_FINSH
#include <finsh.h>
time_t time(time_t* t)
{
rt_device_t device;
@@ -170,6 +168,8 @@ time_t time(time_t* t)
return time;
}
#ifdef RT_USING_FINSH
#include <finsh.h>
void set_date(rt_uint32_t year, rt_uint32_t month, rt_uint32_t day)
{
struct tm ti;