|
@@ -735,7 +735,7 @@ bool CPropertiesWnd::SendInfraedSignal(const KeyInfo* pKey)
|
|
|
else if (Global::g_nVersion == 2)
|
|
|
{
|
|
|
// 将十六进制的字符串转成字节流;
|
|
|
- std::string strBytes = utils::HexStringToBytes(pKey->strValue2, 3);
|
|
|
+ std::string strBytes = utils::HexStringToBytes(pKey->strValue2, 2);
|
|
|
memcpy_s(szSendData, MAX_SENDDATA, strBytes.c_str(), strBytes.size());
|
|
|
dwSendLen = strBytes.size();
|
|
|
}
|