Skip to content

Commit 1e16a1e

Browse files
authored
修改函数返回类型
rt_tick_from_millisecond返回类型修改为rt_tick_t
1 parent 348bd83 commit 1e16a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rtthread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void rt_system_tick_init(void);
7575
rt_tick_t rt_tick_get(void);
7676
void rt_tick_set(rt_tick_t tick);
7777
void rt_tick_increase(void);
78-
int rt_tick_from_millisecond(rt_int32_t ms);
78+
rt_tick_t rt_tick_from_millisecond(rt_int32_t ms);
7979

8080
void rt_system_timer_init(void);
8181
void rt_system_timer_thread_init(void);

0 commit comments

Comments
 (0)