Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ihbai
rt-thread
提交
e055a007
R
rt-thread
项目概览
ihbai
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e055a007
编写于
11月 27, 2021
作者:
B
Bernard Xiong
提交者:
GitHub
11月 27, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #5299 from mysterywolf/rtc
modify time.h to sys/time.h
上级
05e1fdc8
a1cc3d43
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
11 addition
and
11 deletion
+11
-11
bsp/bluetrum/libraries/hal_drivers/drv_rtc.c
bsp/bluetrum/libraries/hal_drivers/drv_rtc.c
+0
-1
bsp/ck802/libraries/include/drv_rtc.h
bsp/ck802/libraries/include/drv_rtc.h
+1
-1
bsp/ft2004/libraries/bsp/ft_i2c/ft_i2c_selftest.c
bsp/ft2004/libraries/bsp/ft_i2c/ft_i2c_selftest.c
+1
-1
bsp/imxrt/libraries/drivers/drv_rtc.c
bsp/imxrt/libraries/drivers/drv_rtc.c
+1
-1
bsp/lpc5410x/Libraries/lpc_chip/chip_common/rtc_ut.h
bsp/lpc5410x/Libraries/lpc_chip/chip_common/rtc_ut.h
+1
-1
bsp/raspberry-pi/raspi3-64/driver/drv_rtc.h
bsp/raspberry-pi/raspi3-64/driver/drv_rtc.h
+1
-1
bsp/swm320-lq100/applications/main.c
bsp/swm320-lq100/applications/main.c
+1
-1
bsp/swm320/applications/main.c
bsp/swm320/applications/main.c
+1
-1
components/drivers/include/drivers/alarm.h
components/drivers/include/drivers/alarm.h
+2
-1
components/drivers/rtc/rtc.c
components/drivers/rtc/rtc.c
+1
-1
examples/kernel/event_simple.c
examples/kernel/event_simple.c
+1
-1
未找到文件。
bsp/bluetrum/libraries/hal_drivers/drv_rtc.c
浏览文件 @
e055a007
...
...
@@ -11,7 +11,6 @@
*/
#include "board.h"
#include <time.h>
#include <sys/time.h>
#ifdef BSP_USING_ONCHIP_RTC
...
...
bsp/ck802/libraries/include/drv_rtc.h
浏览文件 @
e055a007
...
...
@@ -29,7 +29,7 @@ extern "C" {
#include <stdint.h>
#include <drv_common.h>
#include <time.h>
#include <
sys/
time.h>
/// definition for rtc handle.
typedef
void
*
rtc_handle_t
;
...
...
bsp/ft2004/libraries/bsp/ft_i2c/ft_i2c_selftest.c
浏览文件 @
e055a007
...
...
@@ -12,7 +12,7 @@
* ----- ------ -------- --------------------------------------
*/
#include <time.h>
#include <
sys/
time.h>
#include <string.h>
#include "ft_i2c_hw.h"
#include "ft_i2c.h"
...
...
bsp/imxrt/libraries/drivers/drv_rtc.c
浏览文件 @
e055a007
...
...
@@ -20,7 +20,7 @@
#include "drv_rtc.h"
#include "fsl_snvs_hp.h"
#include <time.h>
#include <
sys/
time.h>
#if defined(FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL) && FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL
#error "Please don't define 'FSL_SDK_DISABLE_DRIVER_CLOCK_CONTROL'!"
...
...
bsp/lpc5410x/Libraries/lpc_chip/chip_common/rtc_ut.h
浏览文件 @
e055a007
...
...
@@ -36,7 +36,7 @@
#include "chip.h"
#include <stdlib.h>
#include <time.h>
#include <
sys/
time.h>
#ifdef __cplusplus
extern
"C"
{
...
...
bsp/raspberry-pi/raspi3-64/driver/drv_rtc.h
浏览文件 @
e055a007
...
...
@@ -13,7 +13,7 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <time.h>
#include <
sys/
time.h>
#include "bcm283x.h"
struct
rt_rtc_device
...
...
bsp/swm320-lq100/applications/main.c
浏览文件 @
e055a007
...
...
@@ -169,7 +169,7 @@ MSH_CMD_EXPORT(pwm_sample, pwm sample);
#endif
#ifdef RT_USING_RTC
#include <time.h>
#include <
sys/
time.h>
static
int
rtc_sample
(
int
argc
,
char
*
argv
[])
{
rt_err_t
ret
=
RT_EOK
;
...
...
bsp/swm320/applications/main.c
浏览文件 @
e055a007
...
...
@@ -169,7 +169,7 @@ MSH_CMD_EXPORT(pwm_sample, pwm sample);
#endif
#ifdef RT_USING_RTC
#include <time.h>
#include <
sys/
time.h>
static
int
rtc_sample
(
int
argc
,
char
*
argv
[])
{
rt_err_t
ret
=
RT_EOK
;
...
...
components/drivers/include/drivers/alarm.h
浏览文件 @
e055a007
...
...
@@ -13,7 +13,8 @@
#ifndef __ALARM_H__
#define __ALARM_H__
#include <time.h>
#include <sys/time.h>
#include <rtdef.h>
#define RT_ALARM_TM_NOW -1
/* set the alarm tm_day,tm_mon,tm_sec,etc.
to now.we also call it "don't care" value */
...
...
components/drivers/rtc/rtc.c
浏览文件 @
e055a007
...
...
@@ -14,7 +14,7 @@
* 2021-07-30 Meco Man move rtc_core.c to rtc.c
*/
#include <time.h>
#include <
sys/
time.h>
#include <string.h>
#include <stdlib.h>
#include <rtthread.h>
...
...
examples/kernel/event_simple.c
浏览文件 @
e055a007
...
...
@@ -15,7 +15,7 @@
* 一个线程定时发送事件 (事件5)
*/
#include <rtthread.h>
#include <time.h>
#include <
sys/
time.h>
#include "tc_comm.h"
/* 指向线程控制块的指针 */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录