单独增加立思辰定制版特殊PID
This commit is contained in:
parent
a7820e71c9
commit
52c3f1f8be
|
@ -591,6 +591,9 @@ bool scanner::is_belong_serial(int vid, int pid, SCANNERID serial)
|
|||
}
|
||||
else if (vid == PRODUCT_VENDOR_LSC)
|
||||
{
|
||||
#if defined (LISICHENG_SPECIAL)
|
||||
return GET_SCANNER_VID(serial) == vid && GET_SCANNER_PID(serial) == pid;
|
||||
#else
|
||||
if (GET_SCANNER_VID(serial) == PRODUCT_VENDOR_LSC)
|
||||
{
|
||||
if (GET_SCANNER_PID(serial) == 0x8420)
|
||||
|
@ -610,6 +613,8 @@ bool scanner::is_belong_serial(int vid, int pid, SCANNERID serial)
|
|||
return pid == 0x8730 || pid == 0x8739;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
else if (vid == PRODUCT_VENDOR_DL)
|
||||
|
|
Binary file not shown.
|
@ -21,6 +21,7 @@ enum oem
|
|||
OEM_NEUTRAL,
|
||||
OEM_DELI
|
||||
};
|
||||
//#define LISICHENG_SPECIAL
|
||||
#define GET_ENUM_NAME_W(e, v) \
|
||||
if(e == v) return L###e;
|
||||
#define GET_ENUM_VALUE_W(e, v) \
|
||||
|
|
Loading…
Reference in New Issue