Pass rt_tick_t for RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME by lygstate · Pull Request #10717 · RT-Thread/rt-thread
…hread/os_timer.c call to RT_TIMER_CTRL_SET_TIME RT_TIMER_CTRL_SET_TIME expects a pointer to rt_tick_t (ticks). period_tick is derived from periodMS (milliseconds) via rt_tick_from_millisecond to ensure correct units are passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters