refactor(channels): enable check img params size
This commit is contained in:
parent
1f0c48275c
commit
49fcb60f3b
|
@ -495,10 +495,9 @@ bool Channels::GetFiles(
|
||||||
case FID_IMG_PARAMS: {
|
case FID_IMG_PARAMS: {
|
||||||
if (file_size > 0) {
|
if (file_size > 0) {
|
||||||
CheckSpecVersion(spec_ver);
|
CheckSpecVersion(spec_ver);
|
||||||
/*auto &&n = */adapter_->GetImgParamsFromData(
|
auto &&n = adapter_->GetImgParamsFromData(
|
||||||
data + i, spec_ver, img_params);
|
data + i, spec_ver, img_params);
|
||||||
// Considering the upgrade, comment this
|
CHECK_EQ(n, file_size);
|
||||||
// CHECK_EQ(n, file_size);
|
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case FID_IMU_PARAMS: {
|
case FID_IMU_PARAMS: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user