changed USB string identifiers to match the real device

This commit is contained in:
2019-08-22 04:09:06 -04:00
parent 576e9618bd
commit afea8914d0
3 changed files with 25 additions and 12 deletions

16
genDescriptorString.py Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env python3
import sys
if not len(sys.argv) > 1:
exit(0)
instr = ' '.join(sys.argv[1:])
count = 0
print('')
for c in instr:
print(f"'{c}',", end='')
count += 1
print('')
print(f"size: {count}")
print('')