Update scheduler_up.c
This commit is contained in:
parent
8c9ed5e090
commit
a960c28548
|
@ -64,7 +64,7 @@ static void (*rt_scheduler_switch_hook)(struct rt_thread *tid);
|
|||
/**
|
||||
* @brief pause usage measure
|
||||
*/
|
||||
#if RT_USING_CPU_USAGE
|
||||
#ifdef RT_USING_CPU_USAGE
|
||||
rt_weak
|
||||
#endif /* RT_USING_CPU_USAGE */
|
||||
void rt_usage_measure_pause(void)
|
||||
|
@ -77,7 +77,7 @@ void rt_usage_measure_pause(void)
|
|||
* @param from wait to turn on
|
||||
* @param to turn to be
|
||||
*/
|
||||
#if RT_USING_CPU_USAGE
|
||||
#ifdef RT_USING_CPU_USAGE
|
||||
rt_weak
|
||||
#endif /* RT_USING_CPU_USAGE */
|
||||
void rt_usage_measure_start(struct rt_thread *from, struct rt_thread *to)
|
||||
|
|
Loading…
Reference in New Issue