mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
タスク削除時のリスト前詰めを変更
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@42 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
065d3ff258
commit
a563ecdd66
@ -187,7 +187,7 @@ static void renge_task_immed_del(){
|
|||||||
// リスト前詰め
|
// リスト前詰め
|
||||||
i = 0;
|
i = 0;
|
||||||
j = 1;
|
j = 1;
|
||||||
while( j < IMMED_RSV_TASKS_NUM )
|
for( ; j < IMMED_RSV_TASKS_NUM; j++)
|
||||||
{
|
{
|
||||||
if( tasks_immed[ i ] == (void *)0 )
|
if( tasks_immed[ i ] == (void *)0 )
|
||||||
{
|
{
|
||||||
@ -202,7 +202,6 @@ static void renge_task_immed_del(){
|
|||||||
{
|
{
|
||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
j += 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user