调整dsp实例化错误问题
This commit is contained in:
parent
01dddf987e
commit
aaf5b59b51
|
@ -396,6 +396,9 @@ void hg_scanner_239::init_version(void)
|
|||
{
|
||||
std::string fv(get_firmware_version()),
|
||||
sn(get_serial_num());
|
||||
if (fv.empty())
|
||||
return;
|
||||
|
||||
string dev = fv.substr(0, 2);
|
||||
string ver = fv.substr(2, 3);
|
||||
string date = fv.substr(5, 5);
|
||||
|
|
|
@ -63,7 +63,7 @@ g_supporting_devices[] = {
|
|||
#else
|
||||
{0x3072, PID_AND_NAME(100, SCANNER_NAME_HG_G100), "G100", "", &hg_scanner_mgr::create_scanner_g100}
|
||||
, {0x3072, PID_AND_NAME(139, SCANNER_NAME_HG_G100), "G100", "", &hg_scanner_mgr::create_scanner_g239}
|
||||
, {0x3072, PID_AND_NAME(200, SCANNER_NAME_HG_G200), "G200", "", &hg_scanner_mgr::create_scanner_g239}
|
||||
, {0x3072, PID_AND_NAME(200, SCANNER_NAME_HG_G200), "G200", "", &hg_scanner_mgr::create_scanner_g100}
|
||||
, {0x3072, PID_AND_NAME(239, SCANNER_NAME_HG_G200), "G200", "", &hg_scanner_mgr::create_scanner_g239}
|
||||
, {0x3072, PID_AND_NAME(300, SCANNER_NAME_HG_G300), "G300", "", &hg_scanner_mgr::create_scanner_g300}
|
||||
, {0x3072, PID_AND_NAME(302, SCANNER_NAME_HG_G300), "G300", "", &hg_scanner_mgr::create_scanner_g302}
|
||||
|
|
Loading…
Reference in New Issue