调整扫描不出图

This commit is contained in:
mo1027728827@qq.com 2022-05-06 18:02:06 +08:00
parent f80f400d2d
commit 7063cc4e46
2 changed files with 5 additions and 5 deletions

View File

@ -753,8 +753,8 @@ void hg_scanner::reset_custom_area_range(int paper)
}
else
{
paper_size_mm_.cx = 2338;
paper_size_mm_.cy = 3307;
paper_size_mm_.cx = 210;
paper_size_mm_.cy = 297;
}
}

View File

@ -210,7 +210,7 @@ hg_scanner_200::hg_scanner_200(const char* dev_name,int pid, usb_io* io) : hg_sc
{
string fw = get_firmware_version();
HG_VLOG_MINI_1(HG_LOG_LEVEL_DEBUG_INFO, "get_firmware_version is: %s\n",fw.c_str());
// initdevice();
initdevice();
dsp_config_.value = 0;
@ -395,9 +395,9 @@ int hg_scanner_200::start(void)
int ret = HG_ERR_OK,
count = -1;
discard_prev();
//discard_prev();
user_cancel_ = false;
ret = writedown_device_configuration(true);
//ret = writedown_device_configuration(true);
if (ret == HG_ERR_OK)
writedown_image_configuration();
else