休眠时间增加休眠20分钟选项
This commit is contained in:
parent
f1a595dac1
commit
b489122048
|
@ -292,6 +292,7 @@ enum
|
||||||
SLEEP_TIME_0MIN = 0,
|
SLEEP_TIME_0MIN = 0,
|
||||||
SLEEP_TIME_5MIN,
|
SLEEP_TIME_5MIN,
|
||||||
SLEEP_TIME_10MIN,
|
SLEEP_TIME_10MIN,
|
||||||
|
SLEEP_TIME_20MIN,
|
||||||
SLEEP_TIME_30MIN,
|
SLEEP_TIME_30MIN,
|
||||||
SLEEP_TIME_60MIN,
|
SLEEP_TIME_60MIN,
|
||||||
SLEEP_TIME_120MIN,
|
SLEEP_TIME_120MIN,
|
||||||
|
|
|
@ -4009,6 +4009,9 @@ int hg_scanner::device_io_control(unsigned long code, void* data, unsigned* len)
|
||||||
case SLEEP_TIME_10MIN:
|
case SLEEP_TIME_10MIN:
|
||||||
val = 10;
|
val = 10;
|
||||||
break;
|
break;
|
||||||
|
case SLEEP_TIME_20MIN:
|
||||||
|
val = 20;
|
||||||
|
break;
|
||||||
case SLEEP_TIME_30MIN:
|
case SLEEP_TIME_30MIN:
|
||||||
val = 30;
|
val = 30;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue