diff --git a/build_all.bat b/build_all.bat index ec0f739..1e8c5dd 100644 --- a/build_all.bat +++ b/build_all.bat @@ -217,8 +217,6 @@ EXIT /B 0 if %ERRORLEVEL% neq 0 EXIT /B %ERRORLEVEL% call build_ds.bat %1 %2 401C if %ERRORLEVEL% neq 0 EXIT /B %ERRORLEVEL% - call build_ds.bat %1 %2 4020 - if %ERRORLEVEL% neq 0 EXIT /B %ERRORLEVEL% call build_ds.bat %1 %2 4015 if %ERRORLEVEL% neq 0 EXIT /B %ERRORLEVEL% call build_ds.bat %1 %2 4019 diff --git a/sane/scanner.cpp b/sane/scanner.cpp index aea6a83..d48aaac 100644 --- a/sane/scanner.cpp +++ b/sane/scanner.cpp @@ -578,11 +578,7 @@ bool scanner::is_belong_serial(int vid, int pid, SCANNERID serial) { if (GET_SCANNER_PID(serial) == 0x401C) { - return pid == 0x401C || pid == 0x401D || pid == 0x401E || pid == 0x401F; - } - else if (GET_SCANNER_PID(serial) == 0x4020) - { - return pid == 0x4020 || pid == 0x4021 || pid == 0x4022; + return pid == 0x401C || pid == 0x401D || pid == 0x401E || pid == 0x401F|| pid == 0x4021 || pid == 0x4022; } else if (GET_SCANNER_PID(serial) == 0x4015) {