Tools: fixed list for USBID in generate_manifest.py

This commit is contained in:
Andrew Tridgell 2020-01-27 10:16:49 +11:00
parent dd1426cf73
commit b3ff75ed6b

View File

@ -189,7 +189,7 @@ class ManifestGenerator():
} }
if 'USBID' in apj_json: if 'USBID' in apj_json:
# newer APJ files have USBID in the json data # newer APJ files have USBID in the json data
firmware['USBID'] = apj_json['USBID'] firmware['USBID'] = [apj_json['USBID']]
elif platform in USBID_MAP: elif platform in USBID_MAP:
firmware['USBID'] = USBID_MAP[platform] firmware['USBID'] = USBID_MAP[platform]
else: else: