(更新:Akabane Jumpei)フラグ処理を修正

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2315 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
(no author) 2008-08-28 12:52:45 +00:00
parent 7f07c504ec
commit 60459c6ddd

View File

@ -1616,8 +1616,7 @@ static void HotSwThread(void *arg)
while(1){
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;
}
@ -1667,8 +1666,13 @@ static void HotSwThread(void *arg)
break;
}
} // 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;
} // while loop
}