saneinit sleep 500
This commit is contained in:
parent
07d6537157
commit
b84d7ef442
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue