mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-20 17:44:20 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user