fix(*): remove firmware testversion 2.0.

This commit is contained in:
TinyO 2019-10-12 11:27:44 +08:00
parent 035f51c3b3
commit ab5833fd8c
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ static const firmware_version_match_table_unit FSVM_TABLE[] ={
{"MYNT-EYE-S1030", ">0.0.0", ">2.2.0", PASS_DESCRIPTION},
{"MYNT-EYE-S1030", ">0.0.0", "<2.3.0", WARN_DESCRIPTION_F},
/** S2110 */
{"MYNT-EYE-S2110", ">2.4.1", "2.0", PASS_DESCRIPTION},
{"MYNT-EYE-S2110", ">2.4.1", "1.5", PASS_DESCRIPTION},
{"MYNT-EYE-S2110", ">2.4.1", "1.4", PASS_DESCRIPTION},
{"MYNT-EYE-S2110", "2.4.1", "1.4", PASS_DESCRIPTION},
{"MYNT-EYE-S2110", "2.4.1", "<1.4", WARN_DESCRIPTION_F},

View File

@ -614,7 +614,7 @@ bool Channels::GetFiles(
"upgrade to latest";
dev_info_ = std::make_shared<DeviceInfo>(*info);
is_imu_proto2_ = dev_info_ &&
dev_info_->firmware_version >= Version(2, 0) &&
dev_info_->spec_version >= Version(1, 3) &&
strstr(dev_info_->name.c_str(), "S2") != nullptr;
} break;
case FID_IMG_PARAMS: {