From b489122048ee9cda6e64a126bbbe3942c0151800 Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 25 Jul 2023 15:49:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=91=E7=9C=A0=E6=97=B6=E9=97=B4=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=BC=91=E7=9C=A020=E5=88=86=E9=92=9F=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/common_setting.h | 1 + hgdriver/hgdev/hg_scanner.cpp | 3 +++ 2 files changed, 4 insertions(+) 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;