调整sane_start日志位置
This commit is contained in:
parent
bfe3819be3
commit
43ef322c20
|
@ -1688,6 +1688,8 @@ SANE_Status hg_sane_middleware::start(SANE_Handle h, void* async_event)
|
||||||
scanner_handle hs = find_openning_device(h);
|
scanner_handle hs = find_openning_device(h);
|
||||||
scanner_err err = SCANNER_ERR_INVALID_PARAMETER;
|
scanner_err err = SCANNER_ERR_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
LOG_INFO(LOG_LEVEL_ALL, "sane_start ...\n");
|
||||||
|
|
||||||
if(hs)
|
if(hs)
|
||||||
err = hg_scanner_start(hs, async_event, -1);
|
err = hg_scanner_start(hs, async_event, -1);
|
||||||
|
|
||||||
|
@ -2589,8 +2591,6 @@ extern "C" { // avoid compiler exporting name in C++ style !!!
|
||||||
}
|
}
|
||||||
SANE_Status inner_sane_start(SANE_Handle handle)
|
SANE_Status inner_sane_start(SANE_Handle handle)
|
||||||
{
|
{
|
||||||
LOG_INFO(LOG_LEVEL_ALL, "sane_start\n");
|
|
||||||
|
|
||||||
return hg_sane_middleware::instance()->start(handle, NULL);
|
return hg_sane_middleware::instance()->start(handle, NULL);
|
||||||
}
|
}
|
||||||
SANE_Status inner_sane_read(SANE_Handle handle, SANE_Byte* data, SANE_Int max_length, SANE_Int* length)
|
SANE_Status inner_sane_read(SANE_Handle handle, SANE_Byte* data, SANE_Int max_length, SANE_Int* length)
|
||||||
|
|
Loading…
Reference in New Issue