diff --git a/hgdriver/hgdev/common_setting.h b/hgdriver/hgdev/common_setting.h index da45c75..1ca1114 100644 --- a/hgdriver/hgdev/common_setting.h +++ b/hgdriver/hgdev/common_setting.h @@ -292,6 +292,7 @@ enum SLEEP_TIME_0MIN = 0, SLEEP_TIME_5MIN, SLEEP_TIME_10MIN, + SLEEP_TIME_20MIN, SLEEP_TIME_30MIN, SLEEP_TIME_60MIN, SLEEP_TIME_120MIN, diff --git a/hgdriver/hgdev/hg_scanner.cpp b/hgdriver/hgdev/hg_scanner.cpp index 9f3fccc..2dd5fe2 100644 --- a/hgdriver/hgdev/hg_scanner.cpp +++ b/hgdriver/hgdev/hg_scanner.cpp @@ -4009,6 +4009,9 @@ int hg_scanner::device_io_control(unsigned long code, void* data, unsigned* len) case SLEEP_TIME_10MIN: val = 10; break; + case SLEEP_TIME_20MIN: + val = 20; + break; case SLEEP_TIME_30MIN: val = 30; break;