This commit is contained in:
WangQiang 2016-05-12 08:21:00 +00:00
parent a93d9c0871
commit ee86a0140a
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ bool DevicesManagement::SendDevices(DeviceAtions act, const Device* dv)
// 不存在主动发送这两条
if (act == DeviceAtions::List || act == DeviceAtions::ListIDs)return false;
// 保证可以顺利执行
if (Port)return false;
if (Port == nullptr)return false;
if (Port->Status < 2) return false;
// 只有 Register 需要发送完整设备信息
String actstr;