fix: change cmake version to 2.3.2
This commit is contained in:
parent
b2bd90192d
commit
d09f037aee
|
@ -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)
|
||||
|
||||
|
|
|
@ -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;
|
||||
// if (api && checkFirmwareVersion(api))
|
||||
// return api;
|
||||
// return nullptr;
|
||||
}
|
||||
|
||||
std::shared_ptr<API> API::Create(
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in New Issue
Block a user