mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Renamed to avoid compiler warning
This commit is contained in:
@@ -85,9 +85,8 @@ bool Packetizer::input(const std::vector<uint8_t>& inputBytes) {
|
|||||||
// Got a good packet
|
// Got a good packet
|
||||||
gotGoodPackets = true;
|
gotGoodPackets = true;
|
||||||
processedPackets.push_back(std::make_shared<Communication::Packet>(packet));
|
processedPackets.push_back(std::make_shared<Communication::Packet>(packet));
|
||||||
for (auto i = 0; i < packetLength; i++)
|
for (auto a = 0; a < packetLength; a++)
|
||||||
bytes.pop_front();
|
bytes.pop_front();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if(gotGoodPackets) // Don't complain unless we've already gotten a good packet, in case we started in the middle of a stream
|
if(gotGoodPackets) // Don't complain unless we've already gotten a good packet, in case we started in the middle of a stream
|
||||||
std::cout << "Dropping packet due to bad checksum" << std::endl;
|
std::cout << "Dropping packet due to bad checksum" << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user