Skip to content

Commit 19451d9

Browse files
lygstateRbb666
authored andcommitted
RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME should both use rt_tick_t
1 parent 4da1ef0 commit 19451d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/utest/testcases/kernel/timer_tc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ static void timer_control(void *param)
233233
static void test_static_timer_control(void)
234234
{
235235
rt_err_t result;
236-
int set_data;
237-
int get_data;
236+
rt_tick_t set_data;
237+
rt_tick_t get_data;
238238

239239
timer.callbacks = 0;
240240
timer.is_static = RT_TRUE;
@@ -473,8 +473,8 @@ static void test_dynamic_timer(void)
473473
static void test_dynamic_timer_control(void)
474474
{
475475
rt_err_t result;
476-
int set_data;
477-
int get_data;
476+
rt_tick_t set_data;
477+
rt_tick_t get_data;
478478

479479
timer.callbacks = 0;
480480
timer.is_static = RT_FALSE;

0 commit comments

Comments
 (0)