summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/generate
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-01-02 12:05:56 -0800
committerGitHub <noreply@github.com>2021-01-02 21:05:56 +0100
commitf27d8d94489342d4ce7ba9955cd062c725350db9 (patch)
treef212f995d4009c1130de120f6a88020500bd7027 /lib/python/qmk/cli/generate
parentf12000a1b60dea2db20ed496294ef83765fd372f (diff)
Fix compiling on develop (#11409)
Diffstat (limited to 'lib/python/qmk/cli/generate')
-rwxr-xr-xlib/python/qmk/cli/generate/config_h.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/generate/config_h.py b/lib/python/qmk/cli/generate/config_h.py
index 4d734017a1..e160ffea83 100755
--- a/lib/python/qmk/cli/generate/config_h.py
+++ b/lib/python/qmk/cli/generate/config_h.py
@@ -7,7 +7,7 @@ from qmk.decorators import automagic_keyboard, automagic_keymap
from qmk.info import info_json, rgblight_animations, rgblight_properties, rgblight_toggles
from qmk.path import is_keyboard, normpath
-usb_properties = {
+usb_prop_map = {
'vid': 'VENDOR_ID',
'pid': 'PRODUCT_ID',
'device_ver': 'DEVICE_VER',
@@ -199,7 +199,7 @@ def usb_properties(usb_props):
"""
usb_lines = []
- for info_name, config_name in usb_props.items():
+ for info_name, config_name in usb_prop_map.items():
if info_name in usb_props:
usb_lines.append('')
usb_lines.append('#ifndef ' + config_name)