Skip to content

Commit

Permalink
Fix '_RIGHT' matrix pins lint error (qmk#18320)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored and nolanseaton committed Jan 23, 2023
1 parent 539e2c6 commit a432e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def _extract_split_right_pins(info_data, config_c):
direct_pins = config_c.get('DIRECT_PINS_RIGHT', '').replace(' ', '')[1:-1]

if row_pins or col_pins or direct_pins:
if info_data.get('split', {}).get('matrix_pins', {}).get('right') in info_data:
if info_data.get('split', {}).get('matrix_pins', {}).get('right', None):
_log_warning(info_data, 'Right hand matrix data is specified in both info.json and config.h, the config.h values win.')

if 'split' not in info_data:
Expand Down

0 comments on commit a432e56

Please sign in to comment.