This commit is contained in:
John Zhao 2018-04-10 20:29:27 +08:00
commit 20844c3a3e

View File

@ -60,9 +60,9 @@ bool unpack_stereo_img_data(
if (checksum != img_packet.checksum) { if (checksum != img_packet.checksum) {
LOG(WARNING) << "Image packet checksum should be 0x" << std::hex LOG(WARNING) << "Image packet checksum should be 0x" << std::hex
<< std::uppercase << std::setw(2) << std::setfill('0') << std::uppercase << std::setw(2) << std::setfill('0')
<< static_cast<int>(img_packet.checksum) << ", but 0x" << static_cast<int>(checksum) << ", but 0x" << std::setw(2)
<< std::setw(2) << std::setfill('0') << std::setfill('0') << static_cast<int>(img_packet.checksum)
<< static_cast<int>(img_packet.checksum) << " now"; << " now";
return false; return false;
} }