|
|
@@ -21,9 +21,8 @@ public class BluetoothStatus
|
|
|
|
|
|
public static bool IsAllConnected()
|
|
|
{
|
|
|
- if (!BluetoothAim.ins || !BluetoothShoot.ins) return false;
|
|
|
- return BluetoothAim.ins.status == BluetoothStatusEnum.ConnectSuccess &&
|
|
|
- BluetoothShoot.ins.status == BluetoothStatusEnum.ConnectSuccess;
|
|
|
+ if (!BluetoothAim.ins) return false;
|
|
|
+ return BluetoothAim.ins.status == BluetoothStatusEnum.ConnectSuccess;
|
|
|
}
|
|
|
}
|
|
|
|