fix: 2.3 firmware core
This commit is contained in:
parent
5f63df740d
commit
e0d61a9c48
|
@ -475,7 +475,9 @@ bool Channels::GetFiles(
|
||||||
if (file_size > 0) {
|
if (file_size > 0) {
|
||||||
auto &&n = file_channel_.GetImgParamsFromData(
|
auto &&n = file_channel_.GetImgParamsFromData(
|
||||||
data + i, file_size, img_params);
|
data + i, file_size, img_params);
|
||||||
CHECK_EQ(n, file_size);
|
CHECK_EQ(n, file_size)
|
||||||
|
<< "The firmware not support getting device info, you could "
|
||||||
|
"upgrade to latest";
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case FID_IMU_PARAMS: {
|
case FID_IMU_PARAMS: {
|
||||||
|
@ -483,7 +485,9 @@ 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);
|
CHECK_EQ(n, file_size)
|
||||||
|
<< "The firmware not support getting device info, you could "
|
||||||
|
"upgrade to latest";
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user