fix: fix function name OsSchedSetIdleTaskSchedParam
correct function name OsSchedSetIdleTaskSchedParam close https://gitee.com/openharmony/kernel_liteos_a/issues/I3RQ6J
This commit is contained in:
parent
471e47c1c2
commit
8f8c038b21
|
@ -240,7 +240,7 @@ LITE_OS_SEC_TEXT_INIT UINT32 OsIdleTaskCreate(VOID)
|
||||||
ret = LOS_TaskCreateOnly(idleTaskID, &taskInitParam);
|
ret = LOS_TaskCreateOnly(idleTaskID, &taskInitParam);
|
||||||
LosTaskCB *idleTask = OS_TCB_FROM_TID(*idleTaskID);
|
LosTaskCB *idleTask = OS_TCB_FROM_TID(*idleTaskID);
|
||||||
idleTask->taskStatus |= OS_TASK_FLAG_SYSTEM_TASK;
|
idleTask->taskStatus |= OS_TASK_FLAG_SYSTEM_TASK;
|
||||||
OsSchedSetIdleTaskSchedPartam(idleTask);
|
OsSchedSetIdleTaskSchedParam(idleTask);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -152,7 +152,7 @@ STATIC INLINE VOID OsCpuSchedUnlock(Percpu *cpu, UINT32 intSave)
|
||||||
|
|
||||||
extern UINT32 OsSchedSetTickTimerType(UINT32 timerType);
|
extern UINT32 OsSchedSetTickTimerType(UINT32 timerType);
|
||||||
|
|
||||||
extern VOID OsSchedSetIdleTaskSchedPartam(LosTaskCB *idleTask);
|
extern VOID OsSchedSetIdleTaskSchedParam(LosTaskCB *idleTask);
|
||||||
|
|
||||||
extern UINT32 OsSchedSwtmrScanRegister(SchedScan func);
|
extern UINT32 OsSchedSwtmrScanRegister(SchedScan func);
|
||||||
|
|
||||||
|
|
|
@ -753,7 +753,7 @@ VOID OsSchedTick(VOID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID OsSchedSetIdleTaskSchedPartam(LosTaskCB *idleTask)
|
VOID OsSchedSetIdleTaskSchedParam(LosTaskCB *idleTask)
|
||||||
{
|
{
|
||||||
idleTask->policy = LOS_SCHED_IDLE;
|
idleTask->policy = LOS_SCHED_IDLE;
|
||||||
idleTask->initTimeSlice = OS_SCHED_FIFO_TIMEOUT;
|
idleTask->initTimeSlice = OS_SCHED_FIFO_TIMEOUT;
|
||||||
|
|
Loading…
Reference in New Issue