Compare commits

..

2 commits

Author SHA1 Message Date
hopez13
aaee66e622
Merge 35c5803ae0 into f8272a402e 2024-09-16 11:12:02 +02:00
Bjoern Kerler
f8272a402e
Fix issue with "Unsupported" check
Some checks failed
Python application / Test (push) Has been cancelled
2024-09-16 10:24:25 +02:00

View file

@ -797,9 +797,7 @@ class DAXML(metaclass=LogBase):
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)