如果没图,在imageInfoGet调用中返回设备错误码
This commit is contained in:
parent
794febb667
commit
a7820e71c9
|
@ -1313,7 +1313,8 @@ Result huagao_ds::imageInfoGet(const Identity&, ImageInfo& data)
|
||||||
|
|
||||||
data.setHeight(0);
|
data.setHeight(0);
|
||||||
|
|
||||||
return { ReturnCode::XferDone, ConditionCode::Bummer };
|
//return { ReturnCode::XferDone, ConditionCode::Bummer };
|
||||||
|
return { ReturnCode::Failure, condition_code_from_hg_error(scanner_->last_error()) };
|
||||||
}
|
}
|
||||||
wchar_t buf[128];
|
wchar_t buf[128];
|
||||||
std::wstring f(L"imageInfoGet:");
|
std::wstring f(L"imageInfoGet:");
|
||||||
|
|
Loading…
Reference in New Issue