mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
APが見つからない時にリトライするように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@315 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
ccc676edae
commit
459a7945ec
@ -542,12 +542,6 @@ void ShopOperationSingleTemplate(
|
|||||||
{
|
{
|
||||||
ShopOperationSuccess(op, logMessage, nextState);
|
ShopOperationSuccess(op, logMessage, nextState);
|
||||||
}
|
}
|
||||||
else if(GetShopOperationSingleResult() == nn::ac::ResultFailedConnectAp())
|
|
||||||
{
|
|
||||||
COMMON_LOGGER("Failed Connect AccesPoint.");
|
|
||||||
nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromSeconds(5));
|
|
||||||
|
|
||||||
}
|
|
||||||
// IVSがアップロードされていない場合もあるため
|
// IVSがアップロードされていない場合もあるため
|
||||||
// IVSを取得できない状況も成功として扱う
|
// IVSを取得できない状況も成功として扱う
|
||||||
// IVSサイズが違う場合も成功として扱う
|
// IVSサイズが違う場合も成功として扱う
|
||||||
@ -568,6 +562,13 @@ void ShopOperationSingleTemplate(
|
|||||||
{
|
{
|
||||||
if (GetShopOperationSingleResult().IsFailure())
|
if (GetShopOperationSingleResult().IsFailure())
|
||||||
{
|
{
|
||||||
|
if (GetShopOperationSingleResult() == nn::ac::ResultFailedConnectAp())
|
||||||
|
{
|
||||||
|
COMMON_LOGGER("Failed Connect AccesPoint.");
|
||||||
|
nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromSeconds(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// APが見つからない
|
// APが見つからない
|
||||||
if (GetUpdateResult() == nn::ac::ResultNotFoundAccessPoint())
|
if (GetUpdateResult() == nn::ac::ResultNotFoundAccessPoint())
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user