refactor: remove 17-byte FFE4 and 33-byte FFE1 legacy compat code
- Remove parseVendorStatus 17-byte branch (FFE4 is now 19 bytes) - Remove parseVendorStatus 33-byte branch (FFE1 is now 34 bytes) - Remove buildVendorCommand33 deprecated alias - Remove fitting/run_state !== -1 guards in connection.js - Update commands.js to use buildVendorCommand directly
这个提交包含在:
@@ -151,7 +151,7 @@ function readDeviceInfo() {
|
||||
|
||||
function setParams(options) {
|
||||
if (protocol.PROTOCOL_MODE === 'vendor_33') {
|
||||
return writeRawCommand(protocol.buildVendorCommand33(options || {}))
|
||||
return writeRawCommand(protocol.buildVendorCommand(options || {}))
|
||||
}
|
||||
|
||||
var regionMask = options.region_mask || protocol.REGION.FULL_FACE
|
||||
|
||||
在新工单中引用
屏蔽一个用户