Skip to content

Commit

Permalink
Update dalegacy_lib.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler authored Mar 5, 2024
1 parent 4eaa8e4 commit e33a28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtkclient/Library/DA/legacy/dalegacy_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def set_stage2_config(self, hwcode):
if ret == self.Rsp.ACK:
self.info("Sending dram info ...")
dramlength = len(self.daconfig.emi)
if self.daconfig.emiver in [0xF, 0x10, 0x14, 0x15, 0x17]:
if self.daconfig.emiver in [0xF, 0x10, 0x11, 0x14, 0x15]:
dramlength = unpack(">I", self.usbread(0x4))[0] # 0x000000BC
self.info("RAM-Length: " + hex(dramlength))
self.usbwrite(self.Rsp.ACK)
Expand Down

0 comments on commit e33a28d

Please sign in to comment.