mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-11-14 19:25:05 -05:00
Update dalegacy_lib.py
This commit is contained in:
parent
4eaa8e446e
commit
e33a28d35a
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ class DALegacy(metaclass=LogBase):
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue