File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
components/drivers/clock_time Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2006-2024 , RT-Thread Development Team
2+ * Copyright (c) 2006-2026 , RT-Thread Development Team
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 *
@@ -34,17 +34,17 @@ rt_inline rt_clock_hrtimer_t _first_hrtimer(void)
3434 return rt_list_isempty (& _timer_list ) ? RT_NULL : rt_list_first_entry (& _timer_list , struct rt_clock_hrtimer , node );
3535}
3636
37- static unsigned long _clock_time_get_cnt (void )
37+ rt_inline unsigned long _clock_time_get_cnt (void )
3838{
3939 return rt_clock_time_get_counter ();
4040}
4141
42- static rt_inline rt_bool_t _cnt_before (unsigned long a , unsigned long b )
42+ rt_inline rt_bool_t _cnt_before (unsigned long a , unsigned long b )
4343{
4444 return ((rt_base_t )(a - b )) < 0 ;
4545}
4646
47- static rt_inline rt_bool_t _cnt_after (unsigned long a , unsigned long b )
47+ rt_inline rt_bool_t _cnt_after (unsigned long a , unsigned long b )
4848{
4949 return _cnt_before (b , a );
5050}
You can’t perform that action at this time.
0 commit comments