changed USB string identifiers to match the real device
This commit is contained in:
16
genDescriptorString.py
Normal file
16
genDescriptorString.py
Normal 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('')
|
||||
Reference in New Issue
Block a user