调整saneinit 导致获取不到设备问题

This commit is contained in:
13038267101 2022-10-13 17:44:59 +08:00
parent c928d24ebb
commit 07d6537157
1 changed files with 1 additions and 1 deletions

View File

@ -1943,7 +1943,7 @@ extern "C" { // avoid compiler exporting name in C++ style !!!
local_utility::cb_auth_ = authorize;
hg_sane_middleware::instance();
local_utility::get_version(version_code);
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
return SANE_STATUS_GOOD;
}
void inner_sane_exit(void)