From a89937630fe14862c429e95e9b05a77c50054c36 Mon Sep 17 00:00:00 2001 From: 13038267101 Date: Sat, 17 Jun 2023 16:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgdriver/hgdev/hg_scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hgdriver/hgdev/hg_scanner.cpp b/hgdriver/hgdev/hg_scanner.cpp index c1d7549..afbf451 100644 --- a/hgdriver/hgdev/hg_scanner.cpp +++ b/hgdriver/hgdev/hg_scanner.cpp @@ -3128,7 +3128,7 @@ int hg_scanner::save_usb_data(std::shared_ptr data) usb_img_index_++; VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "USB read one picture with %u bytes\n", data->size()); - if (dump_usb_path_.length() && pid_ != 0x0200 && pid_ != 0x100) //这两台设备不是jpg的图 所以不能直接处理 + if (dump_usb_path_.length()) //这两台设备不是jpg的图 所以不能直接处理 { char name[80] = { 0 }; FILE* dst = nullptr;