OpenAnnePro / AnnePro2-Tools

Firmware flashing tool for Anne Pro 2. Allows custom firmware download.
https://ci.codetector.org/job/OpenAnnePro/job/AnnePro2-Tools/
GNU General Public License v2.0
157 stars 35 forks source link

remove usage page check #12

Closed jmarmstrong1207 closed 3 years ago

jmarmstrong1207 commented 3 years ago

There is an issue with a user having a usage page of 0 rather than 1, causing errors for him. Not sure why, but removed these for a quick fix

Codetector1374 commented 3 years ago

I understand the problem we have here, however, let's implement a temporary fix that we use the "highest interface found" for that device. Because on the C15 I have, it show up as three interface in recovery mode. And this will likely select the wrong interface for C15s.

jmarmstrong1207 commented 3 years ago

I added what was checked before for c15 Is this fine?

danil-tolkachev commented 3 years ago

Won't work on my c18 without this PR.