mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 00:13:37 +08:00
RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME should both use rt_tick_t
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user