Skip to content

Commit

Permalink
rpmb fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler committed Sep 26, 2024
1 parent 279e364 commit 66bb0d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mtkclient/Library/DA/xml/xml_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,9 +798,8 @@ def get_sys_property(self, key: str = "DA.SLA", length: int = 0x200000):
return None

def change_usb_speed(self):
resp = self.send_command(self.Cmd.cmd_can_higher_usb_speed())
if "Unsupported" in resp:
return False
return self.send_command(self.Cmd.cmd_can_higher_usb_speed())


def read_partition_table(self) -> tuple:
self.send_command(self.Cmd.cmd_read_partition_table(), noack=True)
Expand Down

0 comments on commit 66bb0d5

Please sign in to comment.