fix: 修复网络配置失败的问题
This commit is contained in:
parent
56eeb5dce3
commit
6fa7fffa7f
|
@ -277,7 +277,7 @@ public class UDPClientPool
|
||||||
public static async ValueTask<Result<RecvDataPackage>> ReadAddrByte(
|
public static async ValueTask<Result<RecvDataPackage>> ReadAddrByte(
|
||||||
IPEndPoint endPoint, int taskID, uint devAddr, int timeout = 1000)
|
IPEndPoint endPoint, int taskID, uint devAddr, int timeout = 1000)
|
||||||
{
|
{
|
||||||
return await ReadAddr(endPoint, taskID, devAddr, 0, timeout);
|
return await ReadAddr(endPoint, taskID, devAddr, 1, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue