saneinit sleep 500

This commit is contained in:
13038267101 2022-10-14 09:00:57 +08:00
parent 07d6537157
commit b84d7ef442
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <mutex>
#include <thread>
#if defined(WIN32) || defined(_WIN64)
#include <windows.h>
#include <direct.h>
@ -1943,7 +1944,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));
std::this_thread::sleep_for(std::chrono::milliseconds(500));
return SANE_STATUS_GOOD;
}
void inner_sane_exit(void)