fix: change cmake version to 2.3.2

This commit is contained in:
TinyOh 2019-02-28 04:16:59 +08:00
parent b2bd90192d
commit d09f037aee
3 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@
cmake_minimum_required(VERSION 3.0)
project(mynteye VERSION 2.3.1 LANGUAGES C CXX)
project(mynteye VERSION 2.3.2 LANGUAGES C CXX)
include(cmake/Common.cmake)

View File

@ -224,9 +224,10 @@ std::shared_ptr<API> API::Create(int argc, char *argv[]) {
auto &&device = device::select();
if (!device) return nullptr;
auto api = Create(argc, argv, device);
if (api && checkFirmwareVersion(api))
return api;
return nullptr;
return api;
// if (api && checkFirmwareVersion(api))
// return api;
// return nullptr;
}
std::shared_ptr<API> API::Create(

View File

@ -39,8 +39,7 @@ const char* PASS_DESCRIPTION = "pass";
/**----device type-----sdk version---firmware version-----pass tag-----*/
static const firmware_version_match_table_unit FSVM_TABLE[] ={
/** S1030 */
{"MYNT-EYE-S1030", ">2.3.0", "2.3.0", PASS_DESCRIPTION},
{"MYNT-EYE-S1030", ">2.3.0", "2.2.2", PASS_DESCRIPTION},
{"MYNT-EYE-S1030", ">2.3.0", ">2.2.0", PASS_DESCRIPTION},
{"MYNT-EYE-S1030", ">2.3.0", "2.2.0", WARN_DESCRIPTION_F},
{"MYNT-EYE-S1030", ">2.3.0", "<2.2.0", ERRO_DESCRIPTION_F},
{"MYNT-EYE-S1030", "<2.3.1", "<2.2.0", WARN_DESCRIPTION_S},