Update xflash.py

This commit is contained in:
Bjoern Kerler 2023-10-02 09:47:39 +02:00 committed by GitHub
parent 54e604ab0a
commit f1f404660b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -410,7 +410,7 @@ class xflashext(metaclass=LogBase):
def read_rpmb(self, filename=None, display=True):
progressbar = progress(1, self.mtk.config.guiprogress)
sectors = 0
val = self.custom_rpmb_init()
#val = self.custom_rpmb_init()
ufs = False
if self.xflash.emmc.rpmb_size != 0:
sectors = self.xflash.emmc.rpmb_size // 0x100