mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(更新:Akabane Jumpei)フラグ処理を修正
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2315 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
7f07c504ec
commit
60459c6ddd
@ -1616,8 +1616,7 @@ static void HotSwThread(void *arg)
|
|||||||
|
|
||||||
while(1){
|
while(1){
|
||||||
if( !SYSMi_GetWork()->flags.hotsw.isEnableHotSW ) {
|
if( !SYSMi_GetWork()->flags.hotsw.isEnableHotSW ) {
|
||||||
SYSMi_GetWork()->flags.hotsw.is1stCardChecked = TRUE;
|
HOTSW_PutString("### HotSw is restrained...\n");
|
||||||
HOTSW_PutString("### HotSw is restrained...\n");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1667,8 +1666,13 @@ static void HotSwThread(void *arg)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} // Card Read while loop
|
} // Card Read while loop
|
||||||
|
|
||||||
|
if( !SYSMi_GetWork()->flags.hotsw.is1stCardChecked ){
|
||||||
|
LockHotSwRsc(&SYSMi_GetWork()->lockCardRsc);
|
||||||
|
SYSMi_GetWork()->flags.hotsw.is1stCardChecked = TRUE;
|
||||||
|
UnlockHotSwRsc(&SYSMi_GetWork()->lockCardRsc);
|
||||||
|
}
|
||||||
|
|
||||||
SYSMi_GetWork()->flags.hotsw.is1stCardChecked = TRUE;
|
|
||||||
SYSMi_GetWork()->flags.hotsw.isBusyHotSW = FALSE;
|
SYSMi_GetWork()->flags.hotsw.isBusyHotSW = FALSE;
|
||||||
} // while loop
|
} // while loop
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user