Browse Source

get HonaLowLevelAPI.cpp qlonglong change

mehrabi
mehrabi 3 years ago
parent
commit
435d050d12
  1. 0
      Plx/include/API/HonaAPI.h
  2. 0
      Plx/src/API/HonaAPI.cpp
  3. 12
      Plx/src/LowLevel/HonaLowLevelAPI.cpp
  4. 0
      ignore.save

0
Plx/include/API/HonaAPI.h

0
Plx/src/API/HonaAPI.cpp

12
Plx/src/LowLevel/HonaLowLevelAPI.cpp

@ -516,8 +516,7 @@ quint32 HonaLowLevelAPI::hsruParserIntS(const QVector<quint32>& honaData,
else if(((honaData[Ind] & 0xF0000000) == 0x60000000) && (nextIntS == 6)) else if(((honaData[Ind] & 0xF0000000) == 0x60000000) && (nextIntS == 6))
{ {
tempHonaPacketIntS.setCodeM(tempHonaPacketIntS.getCodeM() + tempHonaPacketIntS.setCodeM(tempHonaPacketIntS.getCodeM() +
(static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << ((static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << 36));
36);
tempHonaPacketIntS.setCodeL(0); tempHonaPacketIntS.setCodeL(0);
nextIntS = 7; nextIntS = 7;
} }
@ -530,8 +529,7 @@ quint32 HonaLowLevelAPI::hsruParserIntS(const QVector<quint32>& honaData,
else if(((honaData[Ind] & 0xF0000000) == 0x80000000) && (nextIntS == 8)) else if(((honaData[Ind] & 0xF0000000) == 0x80000000) && (nextIntS == 8))
{ {
tempHonaPacketIntS.setCodeM(tempHonaPacketIntS.getCodeM() + tempHonaPacketIntS.setCodeM(tempHonaPacketIntS.getCodeM() +
(static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << ((static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << 36));
36);
nextIntS = 9; nextIntS = 9;
} }
@ -616,8 +614,7 @@ quint32 HonaLowLevelAPI::hsruParserResS(const QVector<quint32>& honaData,
else if(((honaData[Ind] & 0xF0000000) == 0x60000000) && (nextResS == 6)) else if(((honaData[Ind] & 0xF0000000) == 0x60000000) && (nextResS == 6))
{ {
tempHonaPacketResS.setCodeM(tempHonaPacketResS.getCodeM() + tempHonaPacketResS.setCodeM(tempHonaPacketResS.getCodeM() +
(static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << ((static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << 36));
36);
tempHonaPacketResS.setCodeL(0); tempHonaPacketResS.setCodeL(0);
nextResS = 7; nextResS = 7;
} }
@ -630,8 +627,7 @@ quint32 HonaLowLevelAPI::hsruParserResS(const QVector<quint32>& honaData,
else if(((honaData[Ind] & 0xF0000000) == 0x80000000) && (nextResS == 8)) else if(((honaData[Ind] & 0xF0000000) == 0x80000000) && (nextResS == 8))
{ {
tempHonaPacketResS.setCodeM(tempHonaPacketResS.getCodeM() + tempHonaPacketResS.setCodeM(tempHonaPacketResS.getCodeM() +
(static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << ((static_cast<qulonglong>(honaData[Ind] & 0x0FFFFFFF)) << 36));
36);
nextResS = 9; nextResS = 9;
} }
if(nextResS == packetLenResS) if(nextResS == packetLenResS)

0
ignore.save

Loading…
Cancel
Save