无法解锁后面不执行
This commit is contained in:
parent
3802af10ca
commit
0044fdc9b1
@ -167,7 +167,7 @@ namespace Plane.FormationCreator.Formation
|
||||
//解锁间隔一定要超过1s否则导致飞控以后无法解锁
|
||||
|
||||
if (i > 200)
|
||||
break;
|
||||
return; //无法解锁后面不用执行了
|
||||
if (i % (1000 / 25) == 1000 / 25 - 1)
|
||||
{
|
||||
await copter.UnlockAsync(); // 每 1000 毫秒重试一次。
|
||||
|
Loading…
Reference in New Issue
Block a user