mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-02 16:05:09 +00:00
Fix codegen for non led boards
This commit is contained in:
parent
13ee88dd21
commit
a65ea1a711
@ -15,6 +15,7 @@ def _gen_led_config(info_data):
|
||||
cols = info_data['matrix_size']['cols']
|
||||
rows = info_data['matrix_size']['rows']
|
||||
|
||||
led_config = None
|
||||
if 'layout' in info_data.get('rgb_matrix', {}):
|
||||
led_config = info_data['rgb_matrix']['layout']
|
||||
elif 'layout' in info_data.get('led_matrix', {}):
|
||||
|
Loading…
Reference in New Issue
Block a user