设备日志返回值
This commit is contained in:
parent
9bc22b1f13
commit
94fe51b495
|
@ -2442,9 +2442,10 @@ int hg_scanner::setting_get_devs_log(void* data, long* len)
|
||||||
return SCANNER_ERR_NO_DATA;
|
return SCANNER_ERR_NO_DATA;
|
||||||
}
|
}
|
||||||
string str;
|
string str;
|
||||||
get_device_log(str);
|
int ret = get_device_log(str);
|
||||||
|
if(ret == SCANNER_ERR_OK)
|
||||||
strcpy((char*)data, str.c_str());
|
strcpy((char*)data, str.c_str());
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
int hg_scanner::on_color_mode_changed(int& color_mode)
|
int hg_scanner::on_color_mode_changed(int& color_mode)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue