mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
fix(linux): The productID should be a number not a description string (#1279)
fix: #1278
This commit is contained in:
parent
648a7f556a
commit
bf46f682d4
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ function propName(name) {
|
||||||
'ID_VENDOR_ENC': 'manufacturer',
|
'ID_VENDOR_ENC': 'manufacturer',
|
||||||
'ID_SERIAL_SHORT': 'serialNumber',
|
'ID_SERIAL_SHORT': 'serialNumber',
|
||||||
'ID_VENDOR_ID': 'vendorId',
|
'ID_VENDOR_ID': 'vendorId',
|
||||||
'ID_MODEL_ENC': 'productId',
|
'ID_MODEL_ID': 'productId',
|
||||||
'DEVLINKS': 'pnpId'
|
'DEVLINKS': 'pnpId'
|
||||||
}[name.toUpperCase()];
|
}[name.toUpperCase()];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue