RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME should both use rt_tick_t

This commit is contained in:
Yonggang Luo
2025-09-22 00:43:14 +08:00
committed by R b b666
parent 4da1ef0f3d
commit 19451d9bb7

View File

@@ -233,8 +233,8 @@ static void timer_control(void *param)
static void test_static_timer_control(void)
{
rt_err_t result;
int set_data;
int get_data;
rt_tick_t set_data;
rt_tick_t get_data;
timer.callbacks = 0;
timer.is_static = RT_TRUE;
@@ -473,8 +473,8 @@ static void test_dynamic_timer(void)
static void test_dynamic_timer_control(void)
{
rt_err_t result;
int set_data;
int get_data;
rt_tick_t set_data;
rt_tick_t get_data;
timer.callbacks = 0;
timer.is_static = RT_FALSE;