Merge branch 'develop' of http://gitlab.mynt.com/mynteye/mynt-eye-s-sdk into develop

This commit is contained in:
TinyOh 2019-03-19 11:32:51 +08:00
commit 15464160f6

View File

@ -485,9 +485,13 @@ bool Channels::GetFiles(
if (imu_params->ok) { if (imu_params->ok) {
auto &&n = file_channel_.GetImuParamsFromData( auto &&n = file_channel_.GetImuParamsFromData(
data + i, file_size, imu_params); data + i, file_size, imu_params);
CHECK_EQ(n, file_size) // TODO(Kalman): Use CHECK_EQ
<< "The firmware not support getting device info, you could " if (n != file_size) {
"upgrade to latest"; LOG(WARNING) << "Wrong sizes of imu params";
}
// CHECK_EQ(n, file_size)
// << "The firmware not support getting device info, you could "
// "upgrade to latest";
} }
} break; } break;
default: default: