newaetech / ChipSHOUTER-ballisticgel

ChipSHOUTER Ballistic Gel
Creative Commons Attribution Share Alike 4.0 International
5 stars 4 forks source link

Issue calling the function usbdev() printing "Do not call me" #4

Open axelatsec opened 4 months ago

axelatsec commented 4 months ago

When running ballisticgel.py in rng mode the return statement of the read function is this:

return self.usb.usbdev().read(self.usb.rep, size, timeout=self.usb._timeout)

and self.usb.usbdev() is not supposed to be called according to the function then printing "Do not call me". The code then stops functioning and doesn't complete the memory read.

alex-dewar commented 4 months ago

Thanks for bringing this up. I'll get that fixed up.