mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Update firehose.py
This commit is contained in:
parent
9034862418
commit
ba3539b845
1 changed files with 5 additions and 1 deletions
|
@ -348,7 +348,11 @@ class qualcomm_firehose:
|
|||
self.cfg.MaxPayloadSizeToTargetInBytes=int(rsp[1]["MaxPayloadSizeToTargetInBytes"])
|
||||
self.cfg.MaxPayloadSizeToTargetInBytesSupported=int(rsp[1]["MaxPayloadSizeToTargetInBytesSupported"])
|
||||
self.cfg.MaxXMLSizeInBytes=int(rsp[1]["MaxXMLSizeInBytes"])
|
||||
self.cfg.MaxPayloadSizeFromTargetInBytes=int(rsp[1]["MaxPayloadSizeFromTargetInBytes"])
|
||||
if "MaxPayloadSizeFromTargetInBytes" in rsp[1]:
|
||||
self.cfg.MaxPayloadSizeFromTargetInBytes=int(rsp[1]["MaxPayloadSizeFromTargetInBytes"])
|
||||
else:
|
||||
print("Unknown cmd structure, please issue this to github: "+str(rsp[1]))
|
||||
exit(0)
|
||||
self.cfg.TargetName=rsp[1]["TargetName"]
|
||||
if "MSM" not in self.cfg.TargetName:
|
||||
self.cfg.TargetName="MSM"+self.cfg.TargetName
|
||||
|
|
Loading…
Reference in a new issue