Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot
2023-08-27 03:00:54 +00:00
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -706,6 +706,9 @@ def _extract_led_config(info_data, keyboard):
except Exception as e:
_log_warning(info_data, f'led_config: {file.name}: {e}')
if info_data[feature].get("layout", None) and not info_data[feature].get("led_count", None):
info_data[feature]["led_count"] = len(info_data[feature]["layout"])
return info_data