调整PWM占空比
This commit is contained in:
parent
5846ced765
commit
73227fd45a
|
@ -701,7 +701,7 @@ namespace setting_hardware
|
|||
{
|
||||
unsigned int value;
|
||||
|
||||
struct // changed on 2022-07-25
|
||||
struct
|
||||
{
|
||||
unsigned int pageSize : 5;
|
||||
unsigned int isColor : 1;
|
||||
|
@ -712,11 +712,10 @@ namespace setting_hardware
|
|||
unsigned int enableSizeDetect : 1;
|
||||
unsigned int lutmode : 1; // 设置文本和照片模式, 0 - 文本;1 - 照片。默认值为“0”
|
||||
unsigned int moire : 1;
|
||||
unsigned int dirty_detect : 1;
|
||||
unsigned int reversed1 : 2;
|
||||
unsigned int isCorrect : 1; //设置0 为原图,1为校正后的图
|
||||
unsigned int dc : 8; //设置PWM占空比
|
||||
unsigned int reversed2 : 6;
|
||||
unsigned int dc : 7; //设置PWM占空比
|
||||
unsigned int reversed2 : 8;
|
||||
}params_7010;
|
||||
}HGSCANCONF_7010;
|
||||
}
|
||||
|
|
|
@ -1454,8 +1454,9 @@ bool hg_scanner::jsn_reorganize()
|
|||
{
|
||||
erase_option(SANE_STD_OPT_NAME_SIZE_CHECK);
|
||||
erase_option(SANE_STD_OPT_NAME_COLOR_CORRECTION);
|
||||
erase_option(SANE_STD_OPT_NAME_DOUBLE_FEED_HANDLE);
|
||||
erase_option(SANE_STD_OPT_NAME_LENS_DIRTY);
|
||||
erase_option(SANE_STD_OPT_NAME_DOUBLE_FEED_HANDLE);
|
||||
|
||||
}
|
||||
|
||||
if (!firmware_sup_dirty_check)
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue