Update dalegacy_lib.py

Fix improper readflash status on legacy
This commit is contained in:
Bjoern Kerler 2023-12-01 19:33:58 +01:00 committed by GitHub
parent 44c750ac5b
commit a9f222320a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1043,7 +1043,7 @@ class DALegacy(metaclass=LogBase):
self.mtk.daloader.progress.show_progress("Read", length, length, display)
rq.put(None)
worker.join(60)
return b""
return True
else:
buffer = bytearray()
bytestoread = length