mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Remove trailing white-space
This commit is contained in:
@@ -17,7 +17,7 @@ std::vector<uint8_t>& Packetizer::packetWrap(std::vector<uint8_t>& data, bool sh
|
||||
if(shortFormat) {
|
||||
// Some devices don't use the checksum, so might as well not calculate it if that's the case
|
||||
// Either way the byte is still expected to be present in the bytestream for short messages
|
||||
data.push_back(disableChecksum ? 0x00 : ICSChecksum(data));
|
||||
data.push_back(disableChecksum ? 0x00 : ICSChecksum(data));
|
||||
}
|
||||
data.insert(data.begin(), 0xAA);
|
||||
if(align16bit && data.size() % 2 == 1) // Some devices always expect 16-bit aligned data
|
||||
|
||||
Reference in New Issue
Block a user