Skip to content

Commit

Permalink
Fix compiling on develop (#11409)
Browse files Browse the repository at this point in the history
  • Loading branch information
skullydazed authored Jan 2, 2021
1 parent f12000a commit f27d8d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/qmk/cli/generate/config_h.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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',
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f27d8d9

Please sign in to comment.