解决webscan设置驱动参数失败的问题

This commit is contained in:
yangjiaxuan 2024-07-12 10:40:26 +08:00
parent 90962ac5b2
commit 01df53c652
1 changed files with 2 additions and 1 deletions

View File

@ -3625,7 +3625,8 @@ namespace ver_2
if (0 == strcmp(devParams[i].name.c_str(), name) || 0 == strcmp(devParams[i].title.c_str(), title))
{
if (!IS_CAP_READONLY(desp->cap))
//if (!IS_CAP_READONLY(desp->cap))
if (0 != strcmp("source", name))
{
if (SANE_TYPE_STRING == desp->type)
{